There r 100 different balls in a bag.A person takes out balls one by one and then he puts them back.Next he takes out 10 balls at a time and the rest 90 one by one.He again puts them back.He next takes out 20 balls at a time and the rest 80 one by one.He repeats the same routine until he takes 100 balls at a time.Find the total number of ways in which a person can do these operations.

please help...??