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