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