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