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