1 1985 1200
2 20 1200 1200
3 10000 1
4 2 1000
5 2 1000 1
6 1000 20
7
8
A
2-3
B