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