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