Please check this code for wrong ans

hi @itzzeeshu5 print in the right format and use test cases