Files
CodeObject/zeta/py/completed/15725.py
2025-05-07 04:44:30 +09:00

1 line
131 B
Python

print((lambda x: x[0] if len(x) > 1 else 0)(list(map(lambda x: 1 if x == '' else -1 if x == '-' else int(x), input().split('x')))))