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