#!/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_12721 = SymVar_0
ref_12736 = ref_12721 # MOV operation
ref_20781 = ref_12736 # MOV operation
ref_20980 = ref_20781 # MOV operation
ref_20996 = ((ref_20980 - 0x35CEDE6D) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_21004 = ref_20996 # MOV operation
ref_21229 = ref_21004 # MOV operation
ref_24699 = ref_12736 # MOV operation
ref_25141 = ref_24699 # MOV operation
ref_25151 = ((((0x0) << 64 | ref_25141) / 0x7) & 0xFFFFFFFFFFFFFFFF) # DIV operation
ref_25377 = ref_25151 # MOV operation
ref_29398 = ref_25377 # MOV operation
ref_29597 = ref_29398 # MOV operation
ref_29615 = (ref_29597 >> (0x3 & 0x3F)) # SHR operation
ref_29622 = ref_29615 # MOV operation
ref_30082 = ref_29622 # MOV operation
ref_30090 = (0xF & ref_30082) # AND operation
ref_30555 = ref_30090 # MOV operation
ref_30563 = (0x1 | ref_30555) # OR operation
ref_31034 = ref_30563 # MOV operation
ref_31036 = (ref_31034 & 0xFFFFFFFF) # MOV operation
ref_31038 = ((0x7A11169 << ((ref_31036 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_31045 = ref_31038 # MOV operation
ref_33164 = ref_25377 # MOV operation
ref_33363 = ref_33164 # MOV operation
ref_33381 = (ref_33363 >> (0x3 & 0x3F)) # SHR operation
ref_33388 = ref_33381 # MOV operation
ref_33848 = ref_33388 # MOV operation
ref_33856 = (0xF & ref_33848) # AND operation
ref_34321 = ref_33856 # MOV operation
ref_34329 = (0x1 | ref_34321) # OR operation
ref_34800 = ref_34329 # MOV operation
ref_34802 = ((0x40 - ref_34800) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_34810 = ref_34802 # MOV operation
ref_35276 = ref_34810 # MOV operation
ref_35278 = (ref_35276 & 0xFFFFFFFF) # MOV operation
ref_35280 = (0x7A11169 >> ((ref_35278 & 0xFF) & 0x3F)) # SHR operation
ref_35287 = ref_35280 # MOV operation
ref_35512 = ref_31045 # MOV operation
ref_35518 = ref_35287 # MOV operation
ref_35520 = (ref_35518 | ref_35512) # OR operation
ref_35742 = ref_35520 # MOV operation
ref_35760 = (ref_35742 >> (0x4 & 0x3F)) # SHR operation
ref_35767 = ref_35760 # MOV operation
ref_36227 = ref_35767 # MOV operation
ref_36235 = (0xF & ref_36227) # AND operation
ref_36700 = ref_36235 # MOV operation
ref_36708 = (0x1 | ref_36700) # OR operation
ref_38516 = ref_12736 # MOV operation
ref_38715 = ref_38516 # MOV operation
ref_38729 = ref_36708 # MOV operation
ref_38731 = (ref_38729 & 0xFFFFFFFF) # MOV operation
ref_38733 = ((ref_38715 << ((ref_38731 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_38740 = ref_38733 # MOV operation
ref_41094 = ref_25377 # MOV operation
ref_41293 = ref_41094 # MOV operation
ref_41311 = (ref_41293 >> (0x3 & 0x3F)) # SHR operation
ref_41318 = ref_41311 # MOV operation
ref_41778 = ref_41318 # MOV operation
ref_41786 = (0xF & ref_41778) # AND operation
ref_42251 = ref_41786 # MOV operation
ref_42259 = (0x1 | ref_42251) # OR operation
ref_42730 = ref_42259 # MOV operation
ref_42732 = (ref_42730 & 0xFFFFFFFF) # MOV operation
ref_42734 = ((0x7A11169 << ((ref_42732 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_42741 = ref_42734 # MOV operation
ref_44860 = ref_25377 # MOV operation
ref_45059 = ref_44860 # MOV operation
ref_45077 = (ref_45059 >> (0x3 & 0x3F)) # SHR operation
ref_45084 = ref_45077 # MOV operation
ref_45544 = ref_45084 # MOV operation
ref_45552 = (0xF & ref_45544) # AND operation
ref_46017 = ref_45552 # MOV operation
ref_46025 = (0x1 | ref_46017) # OR operation
ref_46496 = ref_46025 # MOV operation
ref_46498 = ((0x40 - ref_46496) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_46506 = ref_46498 # MOV operation
ref_46972 = ref_46506 # MOV operation
ref_46974 = (ref_46972 & 0xFFFFFFFF) # MOV operation
ref_46976 = (0x7A11169 >> ((ref_46974 & 0xFF) & 0x3F)) # SHR operation
ref_46983 = ref_46976 # MOV operation
ref_47208 = ref_42741 # MOV operation
ref_47214 = ref_46983 # MOV operation
ref_47216 = (ref_47214 | ref_47208) # OR operation
ref_47438 = ref_47216 # MOV operation
ref_47456 = (ref_47438 >> (0x4 & 0x3F)) # SHR operation
ref_47463 = ref_47456 # MOV operation
ref_47923 = ref_47463 # MOV operation
ref_47931 = (0xF & ref_47923) # AND operation
ref_48396 = ref_47931 # MOV operation
ref_48404 = (0x1 | ref_48396) # OR operation
ref_48875 = ref_48404 # MOV operation
ref_48877 = ((0x40 - ref_48875) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_48885 = ref_48877 # MOV operation
ref_50688 = ref_12736 # MOV operation
ref_50887 = ref_50688 # MOV operation
ref_50901 = ref_48885 # MOV operation
ref_50903 = (ref_50901 & 0xFFFFFFFF) # MOV operation
ref_50905 = (ref_50887 >> ((ref_50903 & 0xFF) & 0x3F)) # SHR operation
ref_50912 = ref_50905 # MOV operation
ref_51137 = ref_38740 # MOV operation
ref_51143 = ref_50912 # MOV operation
ref_51145 = (ref_51143 | ref_51137) # OR operation
ref_51375 = ref_51145 # MOV operation
ref_55080 = ref_12736 # MOV operation
ref_55279 = ref_55080 # MOV operation
ref_55295 = ((ref_55279 - 0x297EE8A1) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_55303 = ref_55295 # MOV operation
ref_55763 = ref_55303 # MOV operation
ref_55771 = (((sx(0x40, 0x1471C5DA) * sx(0x40, ref_55763)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_55998 = ref_55771 # MOV operation
ref_56000 = ((ref_55998 >> 56) & 0xFF) # Byte reference - MOV operation
ref_56001 = ((ref_55998 >> 48) & 0xFF) # Byte reference - MOV operation
ref_56002 = ((ref_55998 >> 40) & 0xFF) # Byte reference - MOV operation
ref_56003 = ((ref_55998 >> 32) & 0xFF) # Byte reference - MOV operation
ref_56004 = ((ref_55998 >> 24) & 0xFF) # Byte reference - MOV operation
ref_56005 = ((ref_55998 >> 16) & 0xFF) # Byte reference - MOV operation
ref_56006 = ((ref_55998 >> 8) & 0xFF) # Byte reference - MOV operation
ref_56007 = (ref_55998 & 0xFF) # Byte reference - MOV operation
ref_59218 = ((ref_56002) << 8 | ref_56003) # MOVZX operation
ref_59666 = (ref_59218 & 0xFFFF) # MOVZX operation
ref_62880 = ((ref_56004) << 8 | ref_56005) # MOVZX operation
ref_66084 = (ref_62880 & 0xFFFF) # MOVZX operation
ref_66542 = (ref_59666 & 0xFFFF) # MOVZX operation
ref_69746 = (ref_66542 & 0xFFFF) # MOVZX operation
ref_69748 = (((ref_69746 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_69749 = ((ref_69746 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_88516 = ref_25377 # MOV operation
ref_90617 = ref_51375 # MOV operation
ref_91059 = ref_90617 # MOV operation
ref_91067 = (0x1F & ref_91059) # AND operation
ref_91289 = ref_91067 # MOV operation
ref_91307 = ((ref_91289 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_91314 = ref_91307 # MOV operation
ref_91539 = ref_88516 # MOV operation
ref_91545 = ref_91314 # MOV operation
ref_91547 = (ref_91545 | ref_91539) # OR operation
ref_91777 = ref_91547 # MOV operation
ref_95328 = ref_91777 # MOV operation
ref_97429 = ref_91777 # MOV operation
ref_97871 = ref_97429 # MOV operation
ref_97879 = (0xF & ref_97871) # AND operation
ref_98101 = ref_97879 # MOV operation
ref_98119 = ((ref_98101 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_98126 = ref_98119 # MOV operation
ref_98351 = ref_95328 # MOV operation
ref_98357 = ref_98126 # MOV operation
ref_98359 = (ref_98357 | ref_98351) # OR operation
ref_98589 = ref_98359 # MOV operation
ref_102025 = ((ref_56000) << 8 | ref_56001) # MOVZX operation
ref_102473 = (ref_102025 & 0xFFFF) # MOVZX operation
ref_105687 = ((ref_56006) << 8 | ref_56007) # MOVZX operation
ref_108891 = (ref_105687 & 0xFFFF) # MOVZX operation
ref_108893 = (((ref_108891 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_108894 = ((ref_108891 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_109349 = (ref_102473 & 0xFFFF) # MOVZX operation
ref_112553 = (ref_109349 & 0xFFFF) # MOVZX operation
ref_115767 = (ref_112553 & 0xFFFF) # MOVZX operation
ref_116215 = (ref_115767 & 0xFFFF) # MOVZX operation
ref_119429 = (ref_66084 & 0xFFFF) # MOVZX operation
ref_122633 = (ref_119429 & 0xFFFF) # MOVZX operation
ref_122635 = (((ref_122633 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_122636 = ((ref_122633 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_123091 = (ref_116215 & 0xFFFF) # MOVZX operation
ref_126295 = (ref_123091 & 0xFFFF) # MOVZX operation
ref_126297 = (((ref_126295 & 0xFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_126298 = ((ref_126295 & 0xFFFF) & 0xFF) # Byte reference - MOV operation
ref_130238 = ((((((((ref_108893) << 8 | ref_108894) << 8 | ref_126297) << 8 | ref_126298) << 8 | ref_69748) << 8 | ref_69749) << 8 | ref_122635) << 8 | ref_122636) # MOV operation
ref_130437 = ref_130238 # MOV operation
ref_130455 = (ref_130437 >> (0x2 & 0x3F)) # SHR operation
ref_130462 = ref_130455 # MOV operation
ref_130922 = ref_130462 # MOV operation
ref_130930 = (0xF & ref_130922) # AND operation
ref_131395 = ref_130930 # MOV operation
ref_131403 = (0x1 | ref_131395) # OR operation
ref_133292 = ref_51375 # MOV operation
ref_133491 = ref_133292 # MOV operation
ref_133505 = ref_131403 # MOV operation
ref_133507 = (ref_133505 & 0xFFFFFFFF) # MOV operation
ref_133509 = ((ref_133491 << ((ref_133507 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_133516 = ref_133509 # MOV operation
ref_135635 = ((((((((ref_108893) << 8 | ref_108894) << 8 | ref_126297) << 8 | ref_126298) << 8 | ref_69748) << 8 | ref_69749) << 8 | ref_122635) << 8 | ref_122636) # MOV operation
ref_135834 = ref_135635 # MOV operation
ref_135852 = (ref_135834 >> (0x2 & 0x3F)) # SHR operation
ref_135859 = ref_135852 # MOV operation
ref_136319 = ref_135859 # MOV operation
ref_136327 = (0xF & ref_136319) # AND operation
ref_136792 = ref_136327 # MOV operation
ref_136800 = (0x1 | ref_136792) # OR operation
ref_137271 = ref_136800 # MOV operation
ref_137273 = ((0x40 - ref_137271) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_137281 = ref_137273 # MOV operation
ref_139165 = ref_51375 # MOV operation
ref_139364 = ref_139165 # MOV operation
ref_139378 = ref_137281 # MOV operation
ref_139380 = (ref_139378 & 0xFFFFFFFF) # MOV operation
ref_139382 = (ref_139364 >> ((ref_139380 & 0xFF) & 0x3F)) # SHR operation
ref_139389 = ref_139382 # MOV operation
ref_139614 = ref_133516 # MOV operation
ref_139620 = ref_139389 # MOV operation
ref_139622 = (ref_139620 | ref_139614) # OR operation
ref_139844 = ref_139622 # MOV operation
ref_139862 = (ref_139844 >> (0x4 & 0x3F)) # SHR operation
ref_139869 = ref_139862 # MOV operation
ref_140329 = ref_139869 # MOV operation
ref_140337 = (0xF & ref_140329) # AND operation
ref_140802 = ref_140337 # MOV operation
ref_140810 = (0x1 | ref_140802) # OR operation
ref_142699 = ref_98589 # MOV operation
ref_143141 = ref_142699 # MOV operation
ref_143149 = (0xF & ref_143141) # AND operation
ref_143614 = ref_143149 # MOV operation
ref_143622 = (0x1 | ref_143614) # OR operation
ref_145511 = ref_21229 # MOV operation
ref_145710 = ref_145511 # MOV operation
ref_145724 = ref_143622 # MOV operation
ref_145726 = (ref_145724 & 0xFFFFFFFF) # MOV operation
ref_145728 = ((ref_145710 << ((ref_145726 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_145735 = ref_145728 # MOV operation
ref_147619 = ref_98589 # MOV operation
ref_148061 = ref_147619 # MOV operation
ref_148069 = (0xF & ref_148061) # AND operation
ref_148534 = ref_148069 # MOV operation
ref_148542 = (0x1 | ref_148534) # OR operation
ref_149013 = ref_148542 # MOV operation
ref_149015 = ((0x40 - ref_149013) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_149023 = ref_149015 # MOV operation
ref_150907 = ref_21229 # MOV operation
ref_151106 = ref_150907 # MOV operation
ref_151120 = ref_149023 # MOV operation
ref_151122 = (ref_151120 & 0xFFFFFFFF) # MOV operation
ref_151124 = (ref_151106 >> ((ref_151122 & 0xFF) & 0x3F)) # SHR operation
ref_151131 = ref_151124 # MOV operation
ref_151356 = ref_145735 # MOV operation
ref_151362 = ref_151131 # MOV operation
ref_151364 = (ref_151362 | ref_151356) # OR operation
ref_151586 = ref_151364 # MOV operation
ref_151600 = ref_140810 # MOV operation
ref_151602 = (ref_151600 & 0xFFFFFFFF) # MOV operation
ref_151604 = (ref_151586 >> ((ref_151602 & 0xFF) & 0x3F)) # SHR operation
ref_151611 = ref_151604 # MOV operation
ref_153965 = ((((((((ref_108893) << 8 | ref_108894) << 8 | ref_126297) << 8 | ref_126298) << 8 | ref_69748) << 8 | ref_69749) << 8 | ref_122635) << 8 | ref_122636) # MOV operation
ref_154164 = ref_153965 # MOV operation
ref_154182 = (ref_154164 >> (0x2 & 0x3F)) # SHR operation
ref_154189 = ref_154182 # MOV operation
ref_154649 = ref_154189 # MOV operation
ref_154657 = (0xF & ref_154649) # AND operation
ref_155122 = ref_154657 # MOV operation
ref_155130 = (0x1 | ref_155122) # OR operation
ref_157019 = ref_51375 # MOV operation
ref_157218 = ref_157019 # MOV operation
ref_157232 = ref_155130 # MOV operation
ref_157234 = (ref_157232 & 0xFFFFFFFF) # MOV operation
ref_157236 = ((ref_157218 << ((ref_157234 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_157243 = ref_157236 # MOV operation
ref_159362 = ((((((((ref_108893) << 8 | ref_108894) << 8 | ref_126297) << 8 | ref_126298) << 8 | ref_69748) << 8 | ref_69749) << 8 | ref_122635) << 8 | ref_122636) # MOV operation
ref_159561 = ref_159362 # MOV operation
ref_159579 = (ref_159561 >> (0x2 & 0x3F)) # SHR operation
ref_159586 = ref_159579 # MOV operation
ref_160046 = ref_159586 # MOV operation
ref_160054 = (0xF & ref_160046) # AND operation
ref_160519 = ref_160054 # MOV operation
ref_160527 = (0x1 | ref_160519) # OR operation
ref_160998 = ref_160527 # MOV operation
ref_161000 = ((0x40 - ref_160998) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_161008 = ref_161000 # MOV operation
ref_162892 = ref_51375 # MOV operation
ref_163091 = ref_162892 # MOV operation
ref_163105 = ref_161008 # MOV operation
ref_163107 = (ref_163105 & 0xFFFFFFFF) # MOV operation
ref_163109 = (ref_163091 >> ((ref_163107 & 0xFF) & 0x3F)) # SHR operation
ref_163116 = ref_163109 # MOV operation
ref_163341 = ref_157243 # MOV operation
ref_163347 = ref_163116 # MOV operation
ref_163349 = (ref_163347 | ref_163341) # OR operation
ref_163571 = ref_163349 # MOV operation
ref_163589 = (ref_163571 >> (0x4 & 0x3F)) # SHR operation
ref_163596 = ref_163589 # MOV operation
ref_164056 = ref_163596 # MOV operation
ref_164064 = (0xF & ref_164056) # AND operation
ref_164529 = ref_164064 # MOV operation
ref_164537 = (0x1 | ref_164529) # OR operation
ref_165008 = ref_164537 # MOV operation
ref_165010 = ((0x40 - ref_165008) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_165018 = ref_165010 # MOV operation
ref_166902 = ref_98589 # MOV operation
ref_167344 = ref_166902 # MOV operation
ref_167352 = (0xF & ref_167344) # AND operation
ref_167817 = ref_167352 # MOV operation
ref_167825 = (0x1 | ref_167817) # OR operation
ref_169714 = ref_21229 # MOV operation
ref_169913 = ref_169714 # MOV operation
ref_169927 = ref_167825 # MOV operation
ref_169929 = (ref_169927 & 0xFFFFFFFF) # MOV operation
ref_169931 = ((ref_169913 << ((ref_169929 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_169938 = ref_169931 # MOV operation
ref_171822 = ref_98589 # MOV operation
ref_172264 = ref_171822 # MOV operation
ref_172272 = (0xF & ref_172264) # AND operation
ref_172737 = ref_172272 # MOV operation
ref_172745 = (0x1 | ref_172737) # OR operation
ref_173216 = ref_172745 # MOV operation
ref_173218 = ((0x40 - ref_173216) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_173226 = ref_173218 # MOV operation
ref_175110 = ref_21229 # MOV operation
ref_175309 = ref_175110 # MOV operation
ref_175323 = ref_173226 # MOV operation
ref_175325 = (ref_175323 & 0xFFFFFFFF) # MOV operation
ref_175327 = (ref_175309 >> ((ref_175325 & 0xFF) & 0x3F)) # SHR operation
ref_175334 = ref_175327 # MOV operation
ref_175559 = ref_169938 # MOV operation
ref_175565 = ref_175334 # MOV operation
ref_175567 = (ref_175565 | ref_175559) # OR operation
ref_175789 = ref_175567 # MOV operation
ref_175803 = ref_165018 # MOV operation
ref_175805 = (ref_175803 & 0xFFFFFFFF) # MOV operation
ref_175807 = ((ref_175789 << ((ref_175805 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_175814 = ref_175807 # MOV operation
ref_176039 = ref_151611 # MOV operation
ref_176045 = ref_175814 # MOV operation
ref_176047 = (ref_176045 | ref_176039) # OR operation
ref_176277 = ref_176047 # MOV operation
ref_176767 = ref_176277 # MOV operation
ref_176769 = ref_176767 # MOV operation

print ref_176769 & 0xffffffffffffffff
