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