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