I need to parse an input file such as this in two parts..this is just an example file the file can vary but is very similar
Short simulation
5
2
S
45
35
1 30
5 35
3 45
1 60
1 90
END
I want to parse this first and take in these values
Short simulation
5
2
S
45
35
and the second half i want to parse separately
1 30
5 35
3 45
1 60
1 90
END