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