1foo:1000:0
2 1: 1
3 2: 1
4 2.1: 100
5 3: 100
6 3.1: 5
7 4: 100
8 5: 1
9