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