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