Even-After-Odd one testcase is not passed

I couldn’t find any mistake in my code and only one testcase is not passed.Here is my code -

@ak_99
list.merge() function will sort the final list. Check this example
5
1 2 3 4 5
output should be “1 3 5 2 4” but your code gives " 1 2 3 4 5’ because merge() sort the list while merging. so print each list before merging.