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