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