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