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