/* A program that reads 10 characters into an array and prints them out in
 * reverse order.
 */

#include <stdio.h>

int main()
{
  int i;
  char a[10];
  for (i = 0; i < 10; i++)
    scanf("%c",&a[i]);
  for (i = 9;i >= 0; i--)
    printf("%c",a[i]);
  printf("\n");
  return 0;
}
