বদলীকরণ যন্ত্র | Math Problem

Click here to read the complete problem statement.

Need some more hints