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