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