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