#!/usr/bin/env python2
## -*- coding: utf-8 -*-

import sys

def sx(bits, value):
    sign_bit = 1 << (bits - 1)
    return (value & (sign_bit - 1)) - (value & sign_bit)

SymVar_0 = int(sys.argv[1])
ref_263 = SymVar_0
ref_278 = ref_263 # MOV operation
ref_60824 = ref_278 # MOV operation
ref_61081 = ref_60824 # MOV operation
ref_61087 = ((0x3F22161B + ref_61081) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_62238 = ref_61087 # MOV operation
ref_63732 = ref_62238 # MOV operation
ref_63862 = ref_63732 # MOV operation
ref_63864 = (((sx(0x40, ref_63862) * sx(0x40, 0x378AED0A)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_64016 = ref_63864 # MOV operation
ref_64018 = (((sx(0x40, ref_64016) * sx(0x40, 0xDF2B78B)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_64288 = ref_64018 # MOV operation
ref_64296 = (ref_64288 >> (0x1 & 0x3F)) # SHR operation
ref_64303 = ref_64296 # MOV operation
ref_64441 = ref_64303 # MOV operation
ref_64455 = (0xF & ref_64441) # AND operation
ref_64728 = ref_64455 # MOV operation
ref_64734 = (0x1 | ref_64728) # OR operation
ref_65877 = ref_278 # MOV operation
ref_65950 = ref_65877 # MOV operation
ref_65964 = ((ref_65950 << (0x7 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_66976 = ref_278 # MOV operation
ref_67224 = ref_66976 # MOV operation
ref_67232 = (ref_67224 >> (0x39 & 0x3F)) # SHR operation
ref_67239 = ref_67232 # MOV operation
ref_67376 = ref_65964 # MOV operation
ref_67380 = ref_67239 # MOV operation
ref_67382 = (ref_67380 | ref_67376) # OR operation
ref_67480 = ref_67382 # MOV operation
ref_67492 = ref_64734 # MOV operation
ref_67494 = ((ref_67480 << ((ref_67492 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_68637 = ref_278 # MOV operation
ref_68710 = ref_68637 # MOV operation
ref_68724 = ((ref_68710 << (0x7 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_69736 = ref_278 # MOV operation
ref_69984 = ref_69736 # MOV operation
ref_69992 = (ref_69984 >> (0x39 & 0x3F)) # SHR operation
ref_69999 = ref_69992 # MOV operation
ref_70136 = ref_68724 # MOV operation
ref_70140 = ref_69999 # MOV operation
ref_70142 = (ref_70140 | ref_70136) # OR operation
ref_71641 = ref_62238 # MOV operation
ref_71771 = ref_71641 # MOV operation
ref_71773 = (((sx(0x40, ref_71771) * sx(0x40, 0x378AED0A)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_71925 = ref_71773 # MOV operation
ref_71927 = (((sx(0x40, ref_71925) * sx(0x40, 0xDF2B78B)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_72197 = ref_71927 # MOV operation
ref_72205 = (ref_72197 >> (0x1 & 0x3F)) # SHR operation
ref_72212 = ref_72205 # MOV operation
ref_72350 = ref_72212 # MOV operation
ref_72364 = (0xF & ref_72350) # AND operation
ref_72637 = ref_72364 # MOV operation
ref_72643 = (0x1 | ref_72637) # OR operation
ref_72884 = ref_72643 # MOV operation
ref_72886 = ((0x40 - ref_72884) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_72894 = ref_72886 # MOV operation
ref_73031 = ref_70142 # MOV operation
ref_73035 = ref_72894 # MOV operation
ref_73037 = (ref_73035 & 0xFFFFFFFF) # MOV operation
ref_73039 = (ref_73031 >> ((ref_73037 & 0xFF) & 0x3F)) # SHR operation
ref_73046 = ref_73039 # MOV operation
ref_73183 = ref_67494 # MOV operation
ref_73187 = ref_73046 # MOV operation
ref_73189 = (ref_73187 | ref_73183) # OR operation
ref_74339 = ref_73189 # MOV operation
ref_75346 = ref_278 # MOV operation
ref_76427 = ref_74339 # MOV operation
ref_76684 = ref_76427 # MOV operation
ref_76690 = ((0xAD6EED + ref_76684) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_76842 = ref_75346 # MOV operation
ref_76846 = ref_76690 # MOV operation
ref_76848 = ((ref_76846 + ref_76842) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_77999 = ref_76848 # MOV operation
ref_79006 = ref_278 # MOV operation
ref_80087 = ref_62238 # MOV operation
ref_80204 = ref_79006 # MOV operation
ref_80208 = ref_80087 # MOV operation
ref_80210 = (ref_80208 | ref_80204) # OR operation
ref_81316 = ref_74339 # MOV operation
ref_81573 = ref_81316 # MOV operation
ref_81579 = ((0x2B6B05ED + ref_81573) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_82686 = ref_77999 # MOV operation
ref_82804 = ref_82686 # MOV operation
ref_82816 = ref_81579 # MOV operation
ref_82818 = (ref_82816 & ref_82804) # AND operation
ref_82969 = ref_80210 # MOV operation
ref_82973 = ref_82818 # MOV operation
ref_82975 = ((ref_82973 + ref_82969) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_84126 = ref_82975 # MOV operation
ref_85227 = ref_84126 # MOV operation
ref_86570 = ref_77999 # MOV operation
ref_86688 = ref_86570 # MOV operation
ref_86702 = (0x3F & ref_86688) # AND operation
ref_86800 = ref_86702 # MOV operation
ref_86814 = ((ref_86800 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_86956 = ref_85227 # MOV operation
ref_86960 = ref_86814 # MOV operation
ref_86962 = (ref_86960 | ref_86956) # OR operation
ref_88112 = ref_86962 # MOV operation
ref_89344 = ref_74339 # MOV operation
ref_89592 = ref_89344 # MOV operation
ref_89600 = (ref_89592 >> (0x4 & 0x3F)) # SHR operation
ref_89607 = ref_89600 # MOV operation
ref_89745 = ref_89607 # MOV operation
ref_89759 = (0xF & ref_89745) # AND operation
ref_90032 = ref_89759 # MOV operation
ref_90038 = (0x1 | ref_90032) # OR operation
ref_91144 = ref_62238 # MOV operation
ref_91217 = ref_91144 # MOV operation
ref_91229 = ref_90038 # MOV operation
ref_91231 = ((ref_91217 << ((ref_91229 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_92337 = ref_62238 # MOV operation
ref_93549 = ref_74339 # MOV operation
ref_93797 = ref_93549 # MOV operation
ref_93805 = (ref_93797 >> (0x4 & 0x3F)) # SHR operation
ref_93812 = ref_93805 # MOV operation
ref_93950 = ref_93812 # MOV operation
ref_93964 = (0xF & ref_93950) # AND operation
ref_94237 = ref_93964 # MOV operation
ref_94243 = (0x1 | ref_94237) # OR operation
ref_94484 = ref_94243 # MOV operation
ref_94486 = ((0x40 - ref_94484) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_94494 = ref_94486 # MOV operation
ref_94631 = ref_92337 # MOV operation
ref_94635 = ref_94494 # MOV operation
ref_94637 = (ref_94635 & 0xFFFFFFFF) # MOV operation
ref_94639 = (ref_94631 >> ((ref_94637 & 0xFF) & 0x3F)) # SHR operation
ref_94646 = ref_94639 # MOV operation
ref_94783 = ref_91231 # MOV operation
ref_94787 = ref_94646 # MOV operation
ref_94789 = (ref_94787 | ref_94783) # OR operation
ref_95895 = ref_77999 # MOV operation
ref_96976 = ref_88112 # MOV operation
ref_97102 = ref_95895 # MOV operation
ref_97106 = ref_96976 # MOV operation
ref_97108 = ((ref_97106 + ref_97102) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_97260 = ref_94789 # MOV operation
ref_97264 = ref_97108 # MOV operation
ref_97266 = (((sx(0x40, ref_97264) * sx(0x40, ref_97260)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_98328 = ref_97266 # MOV operation
ref_98596 = ref_98328 # MOV operation
ref_98598 = ref_98596 # MOV operation

print ref_98598 & 0xffffffffffffffff
