rnrashmi070496Jul '21 snakewithinYa because on output screen the input as well as output is being displayed like this: 1 1 2 2 5 5 which is wrong. Please correct me if I am wrong. image.png1111x614 9.26 KB