Part of 2019 Nigeria Senior MO Round 2
Source: Nigerian senior mathematics Olympiad round 2 problem 6.