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