#include <stdio.h>
min(int value1, int value2, int value3,int value4){
int min = ((value1 < value2) && (value1<value3) && (value1<value4)) ? value1 : ((value2<value3) && (value2<value4))? value2: (value3<value4)?value3: value4;
return min;
}
int main(void) {
int retVal=min(1,2,3,4);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgptaW4oaW50IHZhbHVlMSwgaW50IHZhbHVlMiwgaW50IHZhbHVlMyxpbnQgdmFsdWU0KXsKICAgIGludCBtaW4gPSAgKCh2YWx1ZTEgPCB2YWx1ZTIpICYmICh2YWx1ZTE8dmFsdWUzKSAmJiAodmFsdWUxPHZhbHVlNCkpID8gdmFsdWUxIDogKCh2YWx1ZTI8dmFsdWUzKSAmJiAodmFsdWUyPHZhbHVlNCkpPyB2YWx1ZTI6ICh2YWx1ZTM8dmFsdWU0KT92YWx1ZTM6IHZhbHVlNDsKICAgIHJldHVybiBtaW47Cgp9CgppbnQgbWFpbih2b2lkKSB7CglpbnQgcmV0VmFsPW1pbigxLDIsMyw0KTsgCiAgICBwcmludGYoIk1pbjogJWlcbiIsIG1pbik7CglyZXR1cm4gMDsKfQo=