import std.stdio, std.conv, std.string, std.range, std.math, std.algorithm; void main() { auto N = readln.strip.to!int; auto a = readln.split.to!(int[]); int turu, kame; turu = N * 2 - a.sum / (N - 1) / 2; kame = N - turu; "%s %s".writefln(turu, kame); }