Program now displays both sequences