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