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