Ya 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.
Yes, you are wrong!
Where is āiostreamā?