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