the standard of input :
line 1 : sum of stations
line 2 : start time
line 3 : end time
line 4 : list of stations in line 1
line 5 : list of stations in line 2
line 6 : list of change time in line 1 to line 2
line 7 : list of chage time in line 2 to line 1
example :
6
4 4
5 6
4 5 6 3 5 6
6 3 5 2 5 6
2 4 5 6
4 5 6 7































.png)


