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