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