Part of 2019 Mediterranean Mathematics Olympiad
Source: Mediterranean Mathematical Olympiad 2019 P3 MMC