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