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