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