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