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