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