Identify the type of sentence.

I caught a cold after I spent a week visiting my grandchildren.

simple sentence

compound sentence

complex sentence