$ 0 0 please tell me logic to take input from user and print the following @ $ $ @ @ @ $ $ $ $ @ @ @ @ @