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