Rosetta Problems

Five Transportations

https://atcoder.jp/contests/abc123/tasks/abc123_c