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