E - Travel Cards CodeForces - 847K (思维)

NoSuchKey