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