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