MakerLab Juniors - Student Grades

View as PDF

Submit solution

Points: 4
Time limit: 2.0s
Memory limit: 16M

Author:
Problem type
Allowed languages
Blockly, C, C++, Java, Pascal, Python
Student Grades

A teacher wants to record the grades of 4 students and see who passed or failed. A student passes if their grade is 10 or higher.

We want to write a program that will read a positive integer N for each of the 4 students from the input STDIN.

The program will print (STDOUT) the message Passed if the grade is 10 or higher, otherwise, it will print the message Failed.

Examples

Input

10
9
20
6

Output

Passed
Failed
Passed
Failed

Comments