Identify whether the following are Simple, Complex and Compound sentences:
a. When he opened it, he found sheets of paper.
b. He glanced at a letter.
c. Hardy was not only bored but he was also irritated.
d. Ramanujan turned out to be a poor clerk.
e. If Ramanujan had been better educated, he would hove been even more wonderful than he was.