solved my first problem in a codeforces contest and bagged a rating of 1426