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