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