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