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