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