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