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