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