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