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