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