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