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