Part of 2020 Bangladesh Mathematical Olympiad National
Source: 2020 Bangladesh Mathematical Olympiad Problem 1