Homework from week 1 - Happitails error

I am getting this error in the main.rb on the 'Happitails' app

main.rb:53: syntax error, unexpected keyword_elsif, expecting keyword_end
  elsif response == 2 
       ^
main.rb:68: syntax error, unexpected keyword_elsif, expecting end-of-input
  elsif response == 3 
       ^