Question
Pizza & Burger
Ashish is very hungry and wants to eat something. He has X rupees in his pocket. Since Ashish is very picky, he only likes to eat either
PIZZA
or BURGER
. In addition, he prefers eating PIZZA
over eating BURGER
. The cost of a PIZZA
is Y rupees while the cost of a BURGER
is Z rupees.Input
The only line of input contains three integers X, Y, Z denoting the money ashish has, the cost of a Pizza and the cost of a Burger.
Constraints:
1 ≤ X, Y, Z ≤ 100
Constraints:
1 ≤ X, Y, Z ≤ 100
Output
Return the output what ashish will eat. (PIZZA, BURGER OR NOTING).
Example
Sample Input:
50 40 60
Sample Output:
PIZZA
Explanation
Ashish has 50 rupees while the cost of PIZZA is 40. Therefore he can buy a PIZZA for his dinner.
50 40 60
Sample Output:
PIZZA
Explanation
Ashish has 50 rupees while the cost of PIZZA is 40. Therefore he can buy a PIZZA for his dinner.
Online Jupyter Notebook
Learn Data Science with free online Jupyter Notebook on our platform
Our Jupyter Notebook environment offers an intuitive platform to create, analyze, and visualize data using Python, R, and more. Whether you're a data science enthusiast or a seasoned analyst, our interactive Jupyter Notebook is a powerful tool to practice data manipulation, perform statistical analysis, and develop data-driven insights.
Features
- Real-time Execution: Write and execute code cells to see the results, graphs, and data visualizations instantly.
- Rich Media Support: Incorporate images, videos, and interactive charts to create engaging and informative notebooks.
- Collaboration: Share your Jupyter Notebook with colleagues and collaborate in real-time for seamless teamwork.
How to use?
- Start a New Notebook: Create a new notebook and select your preferred programming language (Python, R, etc.).
- Code and Analysis: Write your data science code, perform data manipulations, and analyze the results step-by-step.
- Visualization: Visualize your data using various libraries and create insightful plots and charts.
- Documentation: Add markdown cells to explain your analysis, methodology, and findings in a clear and organized manner.
Tips for learning Jupyter Notebook
- Python and R Basics: Familiarize yourself with Python or R basics to leverage the full potential of Jupyter Notebook for data science tasks.
- Online Resources: Utilize online tutorials, data science courses, and Jupyter Notebook documentation to enhance your skills.
- Explore Libraries: Explore popular data science libraries like Pandas, NumPy, and Matplotlib for efficient data manipulation and visualization.
- Practice Projects: Work on data science projects, such as data cleaning, exploratory data analysis, and predictive modeling, to gain hands-on experience.
Why choose Newton School's Jupyter Notebook Environment?
- User-Friendly Interface: Our Jupyter Notebook environment is designed for seamless navigation and smooth workflow.
- Instant Feedback: See the results of your data manipulations and analysis immediately, making the learning process efficient.
- No Installation Required: Say goodbye to tedious installations; start coding in Jupyter Notebook right away in your browser.