import java.util.*; import java.io.*; public class alfredo { public static void main (String... args) throws Exception { Scanner sc = new Scanner(new File("alfredo.in")); int r, i = 1; double x, y; while (true) { r = sc.nextInt(); if (r == 0) return; x = sc.nextInt() / 2.0; y = sc.nextInt() / 2.0; double d = Math.sqrt(x*x + y*y); if (d <= r) System.out.println("Pizza " + i + " fits on the table."); else System.out.println("Pizza " + i + " does not fit on the table."); i++; } } }