#include using namespace std; typedef long long ll; typedef pair P; #define REP(i,n) for(ll i=0;i> Y >> N; for(i=1;i<=N;i++){ ll A; cin >> A; Y-=A; if(Y<0){ cout << "red" << endl; return 0; } } cout << Y << endl; return 0; }