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