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