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