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