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