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