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