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