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