diff --git a/TaskC40/Makefile b/TaskC40/Makefile new file mode 100644 index 0000000..e69de29 diff --git a/TaskC40/run b/TaskC40/run new file mode 100644 index 0000000..8b72aab --- /dev/null +++ b/TaskC40/run @@ -0,0 +1,9 @@ +#!/usr/bin/python3 + +import sys +import re + +for line in sys.stdin: + if re.match(r'(1\sroczek$)|([2-4]\slatka$)|([4]\slata$)|([5-9]\slat$)|([1][0-9]\slat$)|([2-9][0-1]\slat$)|([2-9][2-4]\slata$)|([2-9][5-9]\slat$)|([1][0][0-1]\slat$)|([1][0][2-4]\slata$)|([1][0][5-9]\slat$)|([1][1][0]\slat$)',line): + print("yes") + else: print("no")