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