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