At the university hospital, doctors often prescribe medication to patients based on their weight. To avoid mistakes, prescriptions must be checked against standard safe dosage ranges.
For example, the safe dosage of a certain drug is 10 to 20 milligrams per kilogram of body weight. If a doctor prescribes too little, the treatment may be ineffective; if too much, the patient may suffer side effects.
You are asked to help write a small program that checks whether prescriptions are safe. You are given the weight of a patient (in kilograms) and the prescribed dosage (in milligrams). The safe dosage range for this drug is between 10 and 20 milligrams per kilogram of body weight, inclusive.
Determine whether the prescribed dosage is:
The first line contains an integer $$$w$$$ — the patient's weight in kilograms.
The second line contains an integer $$$d$$$ — the prescribed dosage in milligrams.
Print one of the following strings:
60 500
Too Low
50 800
Safe
70 1500
Too High