Rosetta Problems

Cipher Conversion Device and Password Authentication

https://atcoder.jp/contests/awc0084/tasks/awc0084_e