Input (grade 0): For each round i = 0,1, dots, n, compute
Output (grade 3): For each round i = 1,2, dots, n, compute (calculate)