/* Written 7/12/07 by Ross Byers
 * Contains a solution to the contest problem tips.doc
 */
 
 import java.lang.*;
 import java.util.*;
 import java.io.*;
 
 public class tips
 {
 	public static void main(String[] args) throws IOException
 	{
 		Scanner inFile = new Scanner(new File("tips.in"));
 		
 		double check, tip;
 		
 		// Process the first case.
 		check = inFile.nextDouble();
 		tip = inFile.nextDouble();
 		
 		// 15% or, .15 times the check is the tip we are looking for.
 		if (tip >= (check * .15))
 		{
 			System.out.println("Thank you, sir.");
 		}
 		else
 		{
 			System.out.println("Good riddance.");
 		}
 		check = inFile.nextDouble();
 		tip = inFile.nextDouble();
 		
 		// The second case.
 		if (tip >= (check * .15))
 		{
 			System.out.println("Thank you, sir.");
 		}
 		else
 		{
 			System.out.println("Good riddance.");
 		}
 		
 		// The last case.
 		check = inFile.nextDouble();
 		tip = inFile.nextDouble();
 		if (tip >= (check * .15))
 		{
 			System.out.println("Thank you, sir.");
 		}
 		else
 		{
 			System.out.println("Good riddance.");
 		}
 	}
 }