#include<stdio.h> int main() { char N[32]; int i = 0; while (scanf("%s", N) == 1) { if (N[0] != '-'); else { i= 1; } printf("%s\n", &N[i]); } }