ah one more ...
the next 29 char will not lead to another "scanf" ... so it'd be safer.
for more info : fflush (stdin) -could cleanup all the input data that have been entered to prevent from the next char input.
reason : '\n' is char - so scanf will detect the char and then detect again ... <sorry language not really good enough>
that mean you can't enter the data on the next char variable (variable >> input2)
input2 = '\n'
here is your data on the input2