C. Magic Ship Educational Codeforces Round 60 (Rated for Div. 2)

NoSuchKey