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