Miss Tan gave Alex, Dorothy and Jenny some sweets. Alex then gave Dorothy as many sweets as Dorothy had. After that, Dorothy gave Jenny as many sweets as Jenny had. As a result, each of them had the same number of sweets. If the three of them had 60 sweets altogether, how many sweets did each of them have at first?