Rosetta Problems

インタプリタをつくろう

https://atcoder.jp/contests/past18-open/tasks/past18_f