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