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