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