Part of 2023 Greece JBMO TST
Source: 2023 Greece JBMO TST p3/ easy version of Shortlist 2022 A6 https://artofproblemsolving.com/community/c6h3099025p28018726