Codle #204

Due to the low number of players, Codle has entered the cycle of utilizing previously used puzzles. This puzzle was first used on 2023-02-26. The text present in the following statement may contain information that is no longer up-to-date, as it has been copied directly from the old puzzle. 13th Labour of Heracles https://codeforces.com/contest/1466/problem/D