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