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