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