the number of sticks peter had was 6:5 at first. Peter gave 21 sticks to his friends and the ratio of peters sticks to ravis sticks became 9:10.

How many sticks did he have at first?