MathDB

Problem 5

Part of 2023 Kyiv City MO Round 1