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