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