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