#!/usr/bin/python3
import sweecrypt
from sys import argv
if argv[3][:2] == "-s":
print(sweecrypt.decrypt(" ".join(argv[4:]), argv[3][3:]))
else:
print(sweecrypt.decrypt(" ".join(argv[3:])))