Codeforces 1249 E. By Elevator or Stairs?

NoSuchKey