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