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