Write a code to print the following pattern. 1 12 123 1234 12345