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