Broadridge Interview Question

Write a program to reverse 1234