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