Twelve students participated in a theater festival consisting of $n$ different performances. Suppose there were six students in each performance, and each pair of performances had at most two students in common. Determine the largest possible value of $n$.
Problem
Source: 21st Philippine Mathematical Olympiad 2019 p2 PMO
Tags: combinatorics, double counting