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