Source: https://www.mathkang.org/pdf/kangourou2019e.pdf