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