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