By Tomas Peiretti, UTN - FRSF Argentina
An unlucky number is one that contains a 1 followed by a 3 among its digits. For example, the number 341329 is an unlucky number, while the number 26771 is not.
Given an integer N, your program will have to determine if N is unlucky or not.
The input consists of a positive integer N (0 <= N <= 10¹⁷)
Print the message "N es de Mala Suerte" if N is an unlucky number, otherwise print "N NO es de Mala Suerte".
Input Sample | Output Sample |
13 |
13 es de Mala Suerte |
12321 |
12321 NO es de Mala Suerte |