There were four piles of strawberries and a rabbit wanted to eat some. Each pile had $24$ strawberries. The rabbit ate a few strawberries from the first pile and then ate as many strawberries from the third pile as were left in the first pile. After that the rabbit ate a few strawberries from the second pile and then ate as many strawberries from the fourth pile as were left in the second pile. How many strawberries in total did the rabbit eat? 
选项为:A:$$24$$  B:$$36$$  C:$$40$$  D:$$48$$  E:$$60$$  请回答其中一个选项.