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