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