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