A gardener wanted to reward a girl for her good deeds by giving some apples. He gave 2 apples on the first day, 4 on the second day, 8 on the third day, 16 apples on the fourth day and so on for ten days. How many apples did she get from the gardener at the end of the tenth day