# Try a number "5"
# Try a string "test"
# Really important conversion function
# Expected Output: Multiplies by two
def theGreatConversion(arg):
return 2 * arg
# Main Function
if __name__ == "__main__":
# Get "raw" user input (a string)
input = raw_input()
print(input, type(input))
# Improper type conversion (string to integer)
if input.isdigit():
input = int(input)
# else: # Uncomment to sanitize silly user input
# # If input was not a number, set to zero (a known safe value)
# input = 0
# Apply the really important conversion
output = theGreatConversion(input)
# In this case, print the conversion output
print(output, type(output))
IyBUcnkgYSBudW1iZXIgIjUiCiMgVHJ5IGEgc3RyaW5nICJ0ZXN0IgoKIyBSZWFsbHkgaW1wb3J0YW50IGNvbnZlcnNpb24gZnVuY3Rpb24KIyBFeHBlY3RlZCBPdXRwdXQ6ICBNdWx0aXBsaWVzIGJ5IHR3bwpkZWYgdGhlR3JlYXRDb252ZXJzaW9uKGFyZyk6CglyZXR1cm4gMiAqIGFyZwoKIyBNYWluIEZ1bmN0aW9uCmlmIF9fbmFtZV9fID09ICJfX21haW5fXyI6CgkjIEdldCAicmF3IiB1c2VyIGlucHV0IChhIHN0cmluZykKCWlucHV0ID0gcmF3X2lucHV0KCkKCglwcmludChpbnB1dCwgdHlwZShpbnB1dCkpCgoJIyBJbXByb3BlciB0eXBlIGNvbnZlcnNpb24gKHN0cmluZyB0byBpbnRlZ2VyKQoJaWYgaW5wdXQuaXNkaWdpdCgpOgoJCWlucHV0ID0gaW50KGlucHV0KQoJIyBlbHNlOiAjIFVuY29tbWVudCB0byBzYW5pdGl6ZSBzaWxseSB1c2VyIGlucHV0CgkjCSMgSWYgaW5wdXQgd2FzIG5vdCBhIG51bWJlciwgc2V0IHRvIHplcm8gKGEga25vd24gc2FmZSB2YWx1ZSkKCSMgCWlucHV0ID0gMAoKCSMgQXBwbHkgdGhlIHJlYWxseSBpbXBvcnRhbnQgY29udmVyc2lvbgoJb3V0cHV0ID0gdGhlR3JlYXRDb252ZXJzaW9uKGlucHV0KQoJIyBJbiB0aGlzIGNhc2UsIHByaW50IHRoZSBjb252ZXJzaW9uIG91dHB1dAoJcHJpbnQob3V0cHV0LCB0eXBlKG91dHB1dCkpCiA=