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