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