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