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