Kindergarten is divided into apples, half of the total number is assigned to the large class and 20 apples are allocated to the middle class, and the remaining half is assigned to 20 apples, and the last 60 are all given to the small class. How many apples are there in total?
幼儿园分苹果，大班分到总数的一半多20个，中班分到余下的一半多20个，最后60个全部给了小班，苹果一共有多少个？
<result>180</result>