Guess Who is the apple thief ?? At the end of class, My mathematics teacher gave us an interesting problem Which is as follow:

Out of six boys exactly two were known to have been stealing apples.
Harry said:Charlie and George.
Donald said:Tom and Charlie
James said:Donald and Tom.
George said:Harry and Charlie.
Charlie said:Donald and James.
Tom couldn't be found.
Four of the five boys interrogated had named one of the miscreants correctly and lied about the other one.The fifth boy had lied outright!
Who stole the apples ??

I tried to apply the logic but failed. I thought three boys have named charlie so charlie must be one of the two, but with the same reasoning I am unable to find the other (though I think this reasoning is wrong as the boys are lying too).
I shall be thankful if you can provide a logical answer to such a great question.

If we continue along your line of reasoning. If Charlie is one of the two thieves then the second thief cannot be any of George, Tom or Harry. Else one of the boys was telling the whole truth, which we know is not true.
The only two remaining statements are from Charlie and James, out of whom we know that one lied outright. Therefore, Donald cannot be one of the boys as he is named by both boys. This leaves us with either James or Tom as the other option. 
But we have already ruled out Tom above, which means the thief must be James!
