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