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