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