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