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