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