#include<stdio.h> int main() { int a, max = 0; while (scanf("%d", &a) != EOF) { if (a > max ) max = a; } printf("%d", max); return 0; }