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