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