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