Part of 1991 India National Olympiad
Source: Indian National Mathematical Olympiad (INMO) 1991 Problem 1