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