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