This is codeforces problem (code 71A) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson