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