#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  int a[k];
  for (auto &it : a) cin >> it;
  sort(a, a + k, greater<int>());
  int declined = max(a[0], 25) - 25;
  cout << declined;
}
