Determining the Type of Statement