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