#include<stdio.h> int main() { int a = 0, i = 0, max = 0; for (i=0;i<4;i++) { scanf("%d",&a); if (a > max) max = a; } printf("%d",max); return 0; }