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