summaryrefslogtreecommitdiffstats
path: root/1/1.py
diff options
context:
space:
mode:
Diffstat (limited to '1/1.py')
-rw-r--r--1/1.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/1/1.py b/1/1.py
new file mode 100644
index 0000000..7c70985
--- /dev/null
+++ b/1/1.py
@@ -0,0 +1 @@
+print(sum({'(': 1, ')': -1}[c] for c in open('input').read().rstrip('\n')))