#!/usr/bin/python2
import sys, json

#print(sys.argv)

# Load the data that PHP sent us
try:
    data = json.loads(sys.argv[1])
except:
    print "ERROR"
    sys.exit(1)

#print (data)
# Send it to stdout (to PHP)
print json.dumps(data)