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