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