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