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