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