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