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