#include #include #include #include #include #include #include #include #include #include #include #include #define vll vector #define vvvl vector #define vvl vector> #define VV(a, b, c, d) vector>(a, vector(b, c)) #define VVV(a, b, c, d) vector(a, vvl(b, vll (c, d))); #define re(c, b) for(ll c=0;c> n; vll a(n);re(i, n) std::cin >> a[i]; sort(all(a)); if(n%2){ std::cout << a[n/2] << '\n'; }else{ ld ans = (ld)(a[n/2-1] + a[n/2])/2.0; cout << fixed << setprecision(1) << ans << endl; } }