Codeforces Round #500 (Div. 2) A Piles With Stones

NoSuchKey