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