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