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