/*
 * Description: Map upper case ASCII bytes to zero-indexed
 * Usage: mapascii
 * Copyright: Daniel Tisza, 2010
 * All rights reserved
 */

#include <stdio.h>
#include <stdlib.h>

int main(int argc, char* argv[])
{
  int c;

  if (argc != 1) /* validate argument count */
  {
    return 0;
  }
  
  while ( (c = getchar()) != EOF) /* for all input characters */
  {
    c -= 65;
    printf("%c", c);
  }
}

