import std.stdio, std.algorithm, std.array, std.conv, std.typecons; alias Set = bool[3 * 10^^5]; void main() { readln; auto A = readln.split.to!(int[]); auto L = A.reduce!"a+b" / A.length; A.filter!(x => x >= L+100).array.length.writeln; }