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