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