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