This is 1st problem in the Kartik's CF Specialist Series.
This series will help you reach 1400 rating and above on Codeforces.
Kartik's CF Specialist Sheet: 1400 and Beyond!: • Kartik's CF Specialist Sheet: 1400 and Bey...
link to the sheet: https://docs.google.com/document/d/1E...