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