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