Part of 2022 Mediterranean Mathematics Olympiad
Source: Mediterranean Mathematical Olympiad 2022 P4 MMC