#include int main() { char n[111]; scanf("%s", n); int i, l = 0; while (n[l] != '\0') l++; if (n[0] == '-') printf("0\n"); else { for (i = 0; i < l - 2; i++) printf("%c", n[i]); printf("\n"); } return 0; }