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