From 7b1161ad9a2c647f00c3a71a5a6f21279db74386 Mon Sep 17 00:00:00 2001 From: Muhammad Nauman Raza Date: Tue, 14 Jan 2025 10:24:54 +0000 Subject: [PATCH] solutions: 58A --- solutions/58A.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 solutions/58A.py diff --git a/solutions/58A.py b/solutions/58A.py new file mode 100644 index 0000000..1de213b --- /dev/null +++ b/solutions/58A.py @@ -0,0 +1,10 @@ +import re + +s = input() + +matches = re.findall(r"[a-z]*h[a-z]*e[a-z]*l[a-z]*l[a-z]*o", s) + +if len(matches) >= 1: + print("YES") +else: + print("NO")