Codeforces 935E Fafa and Ancient Mathematics dp

NoSuchKey