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