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