보안을 그리다, 훈이

[Baekjoon/Python3] 17863번 FYI 본문

Programming/Python & Data Structures

[Baekjoon/Python3] 17863번 FYI

HooNeee 2020. 12. 8. 18:12

[Baekjoon/Python3] 17863번 FYI

 

www.acmicpc.net/problem/17863

 

17863번: FYI

In the United States of America, telephone numbers within an area code consist of 7 digits: the prefix number is the first 3 digits and the line number is the last 4 digits. Traditionally, the 555 prefix number has been used to provide directory informatio

www.acmicpc.net

 

s = input()
if s[:3] == '555':
    print('YES')
else:
    print('NO')
Comments