import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; public class alfredo { /** * @param args * @throws FileNotFoundException */ public static void main(String[] args) throws FileNotFoundException { // TODO Auto-generated method stub Scanner in = new Scanner (new File("alfredo.in")); int r=in.nextInt(); int n=1; while(r!=0){ int w=in.nextInt(); int h=in.nextInt(); if(w*w+h*h>4*r*r)System.out.println("Pizza "+n+++" does not fit on the table."); else System.out.println("Pizza "+n+++" fits on the table."); r=in.nextInt(); } } }