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