There are 6 baskets on the table. Each basket has 10, 7, 12, 0, 17 and 3 apples. John chose sixth, Olivia chose first, Liam chose second, Sean chose third, Emma chose fourth, and Matt chose fifth. How many apples did John and Sean choose in total?