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