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