Codeforces Round #152 Problem B Chilly Willy