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