/* package whatever; // don't place package name! */
import java.util.* ;
import java.lang.* ;
import java.io.* ;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
public static int min( int a, int b, int c, int d)
{
int mass[ ] = new int [ 4 ] ;
mass[ 0 ] = a;
mass[ 1 ] = b;
mass[ 2 ] = c;
mass[ 3 ] = d;
for ( int i= 0 ; i< 4 ; i++ )
{
if ( mass> mass[ i+ 1 ] )
{
int temp= mass;
mass= mass[ i+ 1 ] ;
mass[ i+ 1 ] = temp;
}
}
int R= mass[ 0 ] ;
return R; //напишите тут ваш код
}
{
// your code goes here
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgaW50IG1pbihpbnQgYSwgaW50IGIsIGludCBjLCBpbnQgZCkKewppbnQgbWFzc1tdPW5ldyBpbnRbNF07Cm1hc3NbMF09YTsKbWFzc1sxXT1iOwptYXNzWzJdPWM7Cm1hc3NbM109ZDsKZm9yKGludCBpPTA7aTw0O2krKykKewppZihtYXNzPm1hc3NbaSsxXSkKewppbnQgdGVtcD1tYXNzOwptYXNzPW1hc3NbaSsxXTsKbWFzc1tpKzFdPXRlbXA7Cn0KCn0KaW50IFI9bWFzc1swXTsKcmV0dXJuIFI7Ly/QvdCw0L/QuNGI0LjRgtC1INGC0YPRgiDQstCw0Ygg0LrQvtC0Cn0KCglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIGphdmEubGFuZy5FeGNlcHRpb24KCXsKCQkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCgl9Cn0=