Write a program that right-justifies text. It should read and echo a sequence of left-justified lines and then print them in right-justified format.
For example, the input
Listen, my children, and you shall hear Of the midnight ride of Paul Revere,
On the eighteenth of April, in Seventy-five; Hardly a man is now alive
Who remembers that famous day and year.
would be printed as
Listen, my children, and you shall hear Of the midnight ride of Paul Revere,
On the eighteenth of April, in Seventy-five;
Hardly a man is now alive Who remembers that famous day and year.