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