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