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