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