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