Part of 2019 Singapore Junior Math Olympiad
Source: Singapore Junior Math Olympiad 2019 2nd Round p3 SMO