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