Part of 2020 Mediterranean Mathematics Olympiad
Source: Mediterranean Mathematical Olympiad 2020 P2 MMC