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