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