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