Ticket 3273

Logs
Input
1
5
3 4 1 5 2 

Expected Output
5
0 0 0 0 0

Stress testing completed
Update Logs

Note: You can also use F5 to update the logs. This would also retain cursor position while scrolling.