Codeforces Round #181 Problem A Array