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