//Bai 5: đề bài ko nói rõ nên ko biết code theo kiểu nào:))
#include<bits/stdc++.h>
using namespace std;
#define el "\n"
#define ll long long
#define ull unsigned long long
#define se second
#define fi first
#define be begin()
#define en end()
#define Faster cin.tie(0); cout.tie(0); ios_base::sync_with_stdio(0);
void Run(int a[])
{
cin >> a[0] >> a[1] >> a[2];
int min1 = INT_MAX, min2 = INT_MAX;
for(int i =0; i < 3; i++)
{
if(a[i] < min1) // nếu bài cho phép số trùng thì thêm =
{
min2 = min1;
min1 = a[i];
}
if(a[i] < min2 && a[i] > min1) min2 = a[i]; //nếu bài cho phép số trùng thì thêm =
}
cout << min2;
}
int main()
{
Faster;
int a[3];
Run(a);
return 0;
}
Ly9CYWkgNTogxJHhu4EgYsOgaSBrbyBuw7NpIHLDtSBuw6puIGtvIGJp4bq/dCBjb2RlIHRoZW8ga2nhu4N1IG7DoG86KSkKCiNpbmNsdWRlPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CiNkZWZpbmUgZWwgIlxuIgojZGVmaW5lIGxsIGxvbmcgbG9uZwojZGVmaW5lIHVsbCB1bnNpZ25lZCBsb25nIGxvbmcKI2RlZmluZSBzZSBzZWNvbmQKI2RlZmluZSBmaSBmaXJzdAojZGVmaW5lIGJlIGJlZ2luKCkKI2RlZmluZSBlbiBlbmQoKQojZGVmaW5lIEZhc3RlciBjaW4udGllKDApOyBjb3V0LnRpZSgwKTsgaW9zX2Jhc2U6OnN5bmNfd2l0aF9zdGRpbygwKTsKCnZvaWQgUnVuKGludCBhW10pCnsKICAgIGNpbiA+PiBhWzBdID4+IGFbMV0gPj4gYVsyXTsKICAgIGludCBtaW4xID0gSU5UX01BWCwgbWluMiA9IElOVF9NQVg7CiAgICBmb3IoaW50IGkgPTA7IGkgPCAzOyBpKyspCiAgICB7CiAgICAgICAgaWYoYVtpXSA8IG1pbjEpIC8vIG7hur91IGLDoGkgY2hvIHBow6lwIHPhu5EgdHLDuW5nIHRow6wgdGj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