Under construction

Still being built. Things may change

Pizza

Interview

Time limit1sMemory limit1024 MB

Summary
Given a slice's area and price and a round pizza's radius and price, print which option gives more pizza per dollar for each dataset.
Level

Easy1 of 10

Topics
Math, Implementation
Solved
No attempts yet

Problem

There's a pizza store which serves pizza in two sizes: either a pizza slice, with area A1 and price P1, or a circular pizza, with radius R1 and price P2. You want to maximize the amount of pizza you get per dollar. Should you pick the pizza slice or the whole pizza?

Input

The first line of input contains a single integer n, the number of datasets. Each dataset has two lines. The first line contains two space-separated integers A1 and P1. The second line contains two space-separated integers R1 and P2. All values are positive integers at most 10310^3. The two options are guaranteed not to give the same amount of pizza per dollar.

Output

For each dataset, print one line containing either "Whole pizza" or "Slice of pizza", depending on which is the better deal.

Examples1

  1. Example 1

    Input
    3
    8 4
    7 9
    9 2
    4 7
    841 108
    8 606
    
    Expected output
    Whole pizza
    Whole pizza
    Slice of pizza