In a basket of apples,
when counted in twos, there was one extra
when counted in threes, there were two extra when counted in fours, there were three extra
when counted in fives, there were four extra
when counted in sixes, there was five extra.
However, if the apples were counted in sevens, no extra apple was left. Can you calculate the minimum number of apples that were present in the basket?