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