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