Codeforces 777C - Alyona and Spreadsheet - [DP]

NoSuchKey