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