#include <stdio.h>
#include <string.h>

int
main()
{
  char            s[100], *p;
  int             cnt;

  while (fgets(s, 100, stdin) != NULL) {
    s[strlen(s)-1]='\0';
    cnt = 0;
    p = strtok(s, " ");
    while ((p = strtok(NULL, " "))) {
      cnt++;
      if (*p != '0') 
        printf("%d:%s ", cnt, p);
    }
    puts("");
  }
  return 0;
}