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