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