TRMAG - Editorial

PROBLEM LINKS

Practice
Contest

DIFFICULTY

EASY

EXPLANATION

You can view the editorial here

SETTER’S SOLUTION

Can be found here.

TESTER’S SOLUTION

Can be found here.

//