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