Major d'edat


Submit solution

Points: 10
Time limit: 5.0s
Memory limit: 256M

Author:
Problem type
Allowed languages
C#, Go, Java

Escriu un programa que llegeix l'edat d'una persona i diu si té al menys 18 anys.

Input Format

Un nombre enter.

Constraints

-

Output Format

-

Test Case 1

Input
17
Output
false

Test Case 2

Input
18
Output
true

Test Case 3

Input
19
Output
true

Test Case 4

Input
1
Output
false

Test Case 5

Input
20
Output
true

Authorship: Gerard Falcó

CC BY-NC-SA 4.0