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