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