Sum of two arrays problem 2

what’s the error in my code. 2 out of 4 test cases passed and it shows compilation message-“Successful” -------
https://ide.geeksforgeeks.org/JaSbu1WXlI

@AbhishekAhlawat1102,

Input:
1
9
2
9 9

Correct output:
1, 0, 8, END
Your output:
0, 8, END

now its working for input u mentioned before i.e. 1 9 2 9 9 but still 2 test cases are not passing ----------- https://ide.geeksforgeeks.org/ItBjA226hL

@AbhishekAhlawat1102,
Input:
2
9 9
2
9 9
Correct Answer:
1, 9, 8, END
Your answer:
9, 8, END