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