Programming Puzzle – Open Games Fest 👾

Input file

Output file