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