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