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