#include <bits/stdc++.h>
using namespace std;
int x, h;
int main()
{
cin >> x >> h;
if (h == 24 && x < 10 ||
h == 1 && x * 24 < 10)
cout << "Drizzle" << endl;
else if (h == 24 && x < 25 ||
h == 1 && x * 24 < 25)
cout << "Moderate Rain" << endl;
else if (h == 24 && x < 50 ||
h == 1 && x * 24 < 50)
cout << "Heavy Rain" << endl;
else
cout << "Torrential Rain" << endl;
if (h == 1)
{
if (x >= 20)
cout << "YES";
else
cout << "NO";
}
return 0;
}