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