How does usaco input work.(competition)

I tried everything.
My code:
starttxt=input()
split=starttxt.split("\n")
reviewslist=split[1]
slit=split[0]
newlist=[]

input:
4 0
1 100 2 3

I tried viewing input as single line or double but in both cases USACo did not allow me to submit, plz help.

https://forum.usaco.guide/t/how-to-ask-for-help-on-a-problem/338/2