9 10 500
5 500 1000 5
A C B6 10
11 500 1000