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