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