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