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