The way we\'re supposed to get input and output is output is given below:
Input: 4 a a b c Output: a -1 b c
Why is my code not w