mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
10 lines
181 B
Python
10 lines
181 B
Python
def problem_p03543(input_data):
|
|
n = list(map(int, eval(input_data)))
|
|
|
|
if n[0] == n[1] == n[2] or n[1] == n[2] == n[3]:
|
|
|
|
return "Yes"
|
|
|
|
else:
|
|
|
|
return "No"
|