Characters

1 30 500

2 40 12

3 50 6

4 100 60

5 200 7

10 300 70

11 400

19 9

20 90