3 3
50 3 5 C1 C1 C1 C1 C1
3 2 4 C3 C3 C2 C2
1 1 3 C10 C5 C5
