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