this code is not getting submitted. i think it is giving the correct answer.
hello @Suruchi
first read m and then n