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