For being good at the garden fete, four children were each given two sweets.
Jack had an orange sweet. One child who had a red one also had a blue one. No child had two sweets of the same colour. A child who had a green sweet also had a red one. Jim didn't have a red sweet and Joe had a green one. James didn't have an orange one and Jack had no blue sweets.
Knowing that there were two sweets of each colour, can you tell the colours of the sweets each child had?