#!/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_5928 = ref_278 # MOV operation
ref_6064 = ref_5928 # MOV operation
ref_6072 = (ref_6064 >> (0x5 & 0x3F)) # SHR operation
ref_6079 = ref_6072 # MOV operation
ref_6143 = ref_6079 # MOV operation
ref_6157 = (0x1376783EF7559EA & ref_6143) # AND operation
ref_6234 = ref_6157 # MOV operation
ref_6236 = ((ref_6234 >> 56) & 0xFF) # Byte reference - MOV operation
ref_6237 = ((ref_6234 >> 48) & 0xFF) # Byte reference - MOV operation
ref_6238 = ((ref_6234 >> 40) & 0xFF) # Byte reference - MOV operation
ref_6239 = ((ref_6234 >> 32) & 0xFF) # Byte reference - MOV operation
ref_6240 = ((ref_6234 >> 24) & 0xFF) # Byte reference - MOV operation
ref_6241 = ((ref_6234 >> 16) & 0xFF) # Byte reference - MOV operation
ref_6242 = ((ref_6234 >> 8) & 0xFF) # Byte reference - MOV operation
ref_6243 = (ref_6234 & 0xFF) # Byte reference - MOV operation
ref_7409 = ref_278 # MOV operation
ref_7545 = ref_7409 # MOV operation
ref_7551 = (0x1A5612E2 | ref_7545) # OR operation
ref_8302 = ref_6234 # MOV operation
ref_8346 = ref_8302 # MOV operation
ref_8360 = (0x7063FB7 & ref_8346) # AND operation
ref_8437 = ref_7551 # MOV operation
ref_8441 = ref_8360 # MOV operation
ref_8443 = ((ref_8441 + ref_8437) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_8521 = ref_8443 # MOV operation
ref_8523 = ((ref_8521 >> 56) & 0xFF) # Byte reference - MOV operation
ref_8524 = ((ref_8521 >> 48) & 0xFF) # Byte reference - MOV operation
ref_8525 = ((ref_8521 >> 40) & 0xFF) # Byte reference - MOV operation
ref_8526 = ((ref_8521 >> 32) & 0xFF) # Byte reference - MOV operation
ref_8527 = ((ref_8521 >> 24) & 0xFF) # Byte reference - MOV operation
ref_8528 = ((ref_8521 >> 16) & 0xFF) # Byte reference - MOV operation
ref_8529 = ((ref_8521 >> 8) & 0xFF) # Byte reference - MOV operation
ref_8530 = (ref_8521 & 0xFF) # Byte reference - MOV operation
ref_9949 = ref_8521 # MOV operation
ref_10085 = ref_9949 # MOV operation
ref_10093 = (ref_10085 >> (0x3 & 0x3F)) # SHR operation
ref_10100 = ref_10093 # MOV operation
ref_10164 = ref_10100 # MOV operation
ref_10178 = (0xF & ref_10164) # AND operation
ref_10339 = ref_10178 # MOV operation
ref_10345 = (0x1 | ref_10339) # OR operation
ref_10510 = ref_10345 # MOV operation
ref_10512 = ((0x3162E74F << ((ref_10510 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_11347 = ref_8521 # MOV operation
ref_11483 = ref_11347 # MOV operation
ref_11491 = (ref_11483 >> (0x3 & 0x3F)) # SHR operation
ref_11498 = ref_11491 # MOV operation
ref_11562 = ref_11498 # MOV operation
ref_11576 = (0xF & ref_11562) # AND operation
ref_11737 = ref_11576 # MOV operation
ref_11743 = (0x1 | ref_11737) # OR operation
ref_11908 = ref_11743 # MOV operation
ref_11910 = ((0x40 - ref_11908) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_11918 = ref_11910 # MOV operation
ref_11994 = ref_11918 # MOV operation
ref_11996 = (ref_11994 & 0xFFFFFFFF) # MOV operation
ref_11998 = (0x3162E74F >> ((ref_11996 & 0xFF) & 0x3F)) # SHR operation
ref_12005 = ref_11998 # MOV operation
ref_12077 = ref_10512 # MOV operation
ref_12081 = ref_12005 # MOV operation
ref_12083 = (ref_12081 | ref_12077) # OR operation
ref_12244 = ref_12083 # MOV operation
ref_12252 = (ref_12244 >> (0x4 & 0x3F)) # SHR operation
ref_12259 = ref_12252 # MOV operation
ref_12323 = ref_12259 # MOV operation
ref_12337 = (0x7 & ref_12323) # AND operation
ref_12498 = ref_12337 # MOV operation
ref_12504 = (0x1 | ref_12498) # OR operation
ref_13170 = ref_278 # MOV operation
ref_13214 = ref_13170 # MOV operation
ref_13228 = ((ref_13214 - 0x2907943) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_13236 = ref_13228 # MOV operation
ref_13300 = ref_13236 # MOV operation
ref_13312 = ref_12504 # MOV operation
ref_13314 = ((ref_13300 << ((ref_13312 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_13391 = ref_13314 # MOV operation
ref_14650 = ref_278 # MOV operation
ref_14694 = ref_14650 # MOV operation
ref_14708 = ((ref_14694 - 0x3C563FC) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_14716 = ref_14708 # MOV operation
ref_14788 = ref_14716 # MOV operation
ref_16759 = ref_14788 # MOV operation
ref_17793 = ref_8521 # MOV operation
ref_17837 = ref_17793 # MOV operation
ref_17851 = (0xF & ref_17837) # AND operation
ref_17920 = ref_17851 # MOV operation
ref_17934 = ((ref_17920 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_18011 = ref_16759 # MOV operation
ref_18015 = ref_17934 # MOV operation
ref_18017 = (ref_18015 | ref_18011) # OR operation
ref_18094 = ref_18017 # MOV operation
ref_19354 = ref_13391 # MOV operation
ref_20164 = ref_18094 # MOV operation
ref_20208 = ref_20164 # MOV operation
ref_20222 = (0x1F & ref_20208) # AND operation
ref_20291 = ref_20222 # MOV operation
ref_20305 = ((ref_20291 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_20382 = ref_19354 # MOV operation
ref_20386 = ref_20305 # MOV operation
ref_20388 = (ref_20386 | ref_20382) # OR operation
ref_20465 = ref_20388 # MOV operation
ref_21725 = ref_18094 # MOV operation
ref_22759 = ref_8521 # MOV operation
ref_22803 = ref_22759 # MOV operation
ref_22817 = (0xF & ref_22803) # AND operation
ref_22886 = ref_22817 # MOV operation
ref_22900 = ((ref_22886 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_22977 = ref_21725 # MOV operation
ref_22981 = ref_22900 # MOV operation
ref_22983 = (ref_22981 | ref_22977) # OR operation
ref_23060 = ref_22983 # MOV operation
ref_25255 = ref_23060 # MOV operation
ref_26289 = ref_23060 # MOV operation
ref_26333 = ref_26289 # MOV operation
ref_26347 = (0xF & ref_26333) # AND operation
ref_26416 = ref_26347 # MOV operation
ref_26430 = ((ref_26416 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_26507 = ref_25255 # MOV operation
ref_26511 = ref_26430 # MOV operation
ref_26513 = (ref_26511 | ref_26507) # OR operation
ref_26590 = ref_26513 # MOV operation
ref_27850 = ref_20465 # MOV operation
ref_28660 = ref_26590 # MOV operation
ref_28704 = ref_28660 # MOV operation
ref_28718 = (0x1F & ref_28704) # AND operation
ref_28787 = ref_28718 # MOV operation
ref_28801 = ((ref_28787 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_28878 = ref_27850 # MOV operation
ref_28882 = ref_28801 # MOV operation
ref_28884 = (ref_28882 | ref_28878) # OR operation
ref_28961 = ref_28884 # MOV operation
ref_28963 = ((ref_28961 >> 56) & 0xFF) # Byte reference - MOV operation
ref_28964 = ((ref_28961 >> 48) & 0xFF) # Byte reference - MOV operation
ref_28965 = ((ref_28961 >> 40) & 0xFF) # Byte reference - MOV operation
ref_28966 = ((ref_28961 >> 32) & 0xFF) # Byte reference - MOV operation
ref_28967 = ((ref_28961 >> 24) & 0xFF) # Byte reference - MOV operation
ref_28968 = ((ref_28961 >> 16) & 0xFF) # Byte reference - MOV operation
ref_28969 = ((ref_28961 >> 8) & 0xFF) # Byte reference - MOV operation
ref_28970 = (ref_28961 & 0xFF) # Byte reference - MOV operation
ref_30221 = ref_26590 # MOV operation
ref_31255 = ref_26590 # MOV operation
ref_31299 = ref_31255 # MOV operation
ref_31313 = (0xF & ref_31299) # AND operation
ref_31382 = ref_31313 # MOV operation
ref_31396 = ((ref_31382 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_31473 = ref_30221 # MOV operation
ref_31477 = ref_31396 # MOV operation
ref_31479 = (ref_31477 | ref_31473) # OR operation
ref_31556 = ref_31479 # MOV operation
ref_37274 = ref_31556 # MOV operation
ref_38084 = ref_28961 # MOV operation
ref_38726 = ref_28961 # MOV operation
ref_38778 = ref_38084 # MOV operation
ref_38782 = ref_38726 # MOV operation
ref_38784 = ((ref_38782 + ref_38778) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_38854 = ref_38784 # MOV operation
ref_38868 = (0x7 & ref_38854) # AND operation
ref_38937 = ref_38868 # MOV operation
ref_38951 = ((ref_38937 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_39028 = ref_37274 # MOV operation
ref_39032 = ref_38951 # MOV operation
ref_39034 = (ref_39032 | ref_39028) # OR operation
ref_39111 = ref_39034 # MOV operation
ref_40187 = ((((ref_28963) << 8 | ref_28964) << 8 | ref_28965) << 8 | ref_28966) # MOV operation
ref_40331 = (ref_40187 & 0xFFFFFFFF) # MOV operation
ref_41403 = ((((ref_28967) << 8 | ref_28968) << 8 | ref_28969) << 8 | ref_28970) # MOV operation
ref_42463 = (ref_41403 & 0xFFFFFFFF) # MOV operation
ref_42465 = (((ref_42463 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_42466 = (((ref_42463 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_42467 = (((ref_42463 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_42468 = ((ref_42463 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_42619 = (ref_40331 & 0xFFFFFFFF) # MOV operation
ref_43679 = (ref_42619 & 0xFFFFFFFF) # MOV operation
ref_43681 = (((ref_43679 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_43682 = (((ref_43679 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_43683 = (((ref_43679 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_43684 = ((ref_43679 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_44847 = ref_6238 # MOVZX operation
ref_44891 = (ref_44847 & 0xFF) # MOVZX operation
ref_46971 = ref_6239 # MOVZX operation
ref_47015 = (ref_46971 & 0xFF) # MOVZX operation
ref_47017 = (ref_47015 & 0xFF) # Byte reference - MOV operation
ref_48179 = (ref_44891 & 0xFF) # MOVZX operation
ref_48223 = (ref_48179 & 0xFF) # MOVZX operation
ref_48225 = (ref_48223 & 0xFF) # Byte reference - MOV operation
ref_49387 = ref_6237 # MOVZX operation
ref_49431 = (ref_49387 & 0xFF) # MOVZX operation
ref_51511 = ref_6243 # MOVZX operation
ref_51555 = (ref_51511 & 0xFF) # MOVZX operation
ref_51557 = (ref_51555 & 0xFF) # Byte reference - MOV operation
ref_52719 = (ref_49431 & 0xFF) # MOVZX operation
ref_52763 = (ref_52719 & 0xFF) # MOVZX operation
ref_52765 = (ref_52763 & 0xFF) # Byte reference - MOV operation
ref_53831 = ((((ref_8527) << 8 | ref_8528) << 8 | ref_8529) << 8 | ref_8530) # MOV operation
ref_53975 = (ref_53831 & 0xFFFFFFFF) # MOV operation
ref_55047 = ((((ref_8523) << 8 | ref_8524) << 8 | ref_8525) << 8 | ref_8526) # MOV operation
ref_56107 = (ref_55047 & 0xFFFFFFFF) # MOV operation
ref_56109 = (((ref_56107 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_56110 = (((ref_56107 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_56111 = (((ref_56107 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_56112 = ((ref_56107 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_56263 = (ref_53975 & 0xFFFFFFFF) # MOV operation
ref_57323 = (ref_56263 & 0xFFFFFFFF) # MOV operation
ref_57325 = (((ref_57323 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_57326 = (((ref_57323 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_57327 = (((ref_57323 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_57328 = ((ref_57323 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_59461 = ((((((((ref_57325) << 8 | ref_57326) << 8 | ref_57327) << 8 | ref_57328) << 8 | ref_56109) << 8 | ref_56110) << 8 | ref_56111) << 8 | ref_56112) # MOV operation
ref_60495 = ((((((((ref_6236) << 8 | ref_51557) << 8 | ref_47017) << 8 | ref_48225) << 8 | ref_6240) << 8 | ref_6241) << 8 | ref_6242) << 8 | ref_52765) # MOV operation
ref_60539 = ref_60495 # MOV operation
ref_60553 = (0x3F & ref_60539) # AND operation
ref_60622 = ref_60553 # MOV operation
ref_60636 = ((ref_60622 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_60713 = ref_59461 # MOV operation
ref_60717 = ref_60636 # MOV operation
ref_60719 = (ref_60717 | ref_60713) # OR operation
ref_60796 = ref_60719 # MOV operation
ref_63095 = ((((((((ref_42465) << 8 | ref_42466) << 8 | ref_42467) << 8 | ref_42468) << 8 | ref_43681) << 8 | ref_43682) << 8 | ref_43683) << 8 | ref_43684) # MOV operation
ref_63905 = ref_39111 # MOV operation
ref_64631 = ref_60796 # MOV operation
ref_64767 = ref_64631 # MOV operation
ref_64775 = (ref_64767 >> (0x3 & 0x3F)) # SHR operation
ref_64782 = ref_64775 # MOV operation
ref_64846 = ref_64782 # MOV operation
ref_64860 = (0xF & ref_64846) # AND operation
ref_65021 = ref_64860 # MOV operation
ref_65027 = (0x1 | ref_65021) # OR operation
ref_65104 = ref_63905 # MOV operation
ref_65108 = ref_65027 # MOV operation
ref_65110 = (ref_65108 & 0xFFFFFFFF) # MOV operation
ref_65112 = (ref_65104 >> ((ref_65110 & 0xFF) & 0x3F)) # SHR operation
ref_65119 = ref_65112 # MOV operation
ref_65865 = ref_60796 # MOV operation
ref_66001 = ref_65865 # MOV operation
ref_66009 = (ref_66001 >> (0x3 & 0x3F)) # SHR operation
ref_66016 = ref_66009 # MOV operation
ref_66080 = ref_66016 # MOV operation
ref_66094 = (0xF & ref_66080) # AND operation
ref_66255 = ref_66094 # MOV operation
ref_66261 = (0x1 | ref_66255) # OR operation
ref_66426 = ref_66261 # MOV operation
ref_66428 = ((0x40 - ref_66426) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_66436 = ref_66428 # MOV operation
ref_67098 = ref_39111 # MOV operation
ref_67142 = ref_67098 # MOV operation
ref_67154 = ref_66436 # MOV operation
ref_67156 = ((ref_67142 << ((ref_67154 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_67233 = ref_65119 # MOV operation
ref_67237 = ref_67156 # MOV operation
ref_67239 = (ref_67237 | ref_67233) # OR operation
ref_67308 = ref_67239 # MOV operation
ref_67322 = (0xF & ref_67308) # AND operation
ref_67391 = ref_67322 # MOV operation
ref_67405 = ((ref_67391 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_67482 = ref_63095 # MOV operation
ref_67486 = ref_67405 # MOV operation
ref_67488 = (ref_67486 | ref_67482) # OR operation
ref_67565 = ref_67488 # MOV operation
ref_68833 = ref_60796 # MOV operation
ref_68969 = ref_68833 # MOV operation
ref_68977 = (ref_68969 >> (0x3 & 0x3F)) # SHR operation
ref_68984 = ref_68977 # MOV operation
ref_69048 = ref_68984 # MOV operation
ref_69062 = (0x7 & ref_69048) # AND operation
ref_69223 = ref_69062 # MOV operation
ref_69229 = (0x1 | ref_69223) # OR operation
ref_69896 = ((((((((ref_6236) << 8 | ref_51557) << 8 | ref_47017) << 8 | ref_48225) << 8 | ref_6240) << 8 | ref_6241) << 8 | ref_6242) << 8 | ref_52765) # MOV operation
ref_69940 = ref_69896 # MOV operation
ref_69952 = ref_69229 # MOV operation
ref_69954 = ((ref_69940 << ((ref_69952 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_70621 = ref_67565 # MOV operation
ref_71263 = ref_39111 # MOV operation
ref_71315 = ref_70621 # MOV operation
ref_71319 = ref_71263 # MOV operation
ref_71321 = (ref_71319 | ref_71315) # OR operation
ref_71398 = ref_69954 # MOV operation
ref_71402 = ref_71321 # MOV operation
ref_71404 = (ref_71402 | ref_71398) # OR operation
ref_71481 = ref_71404 # MOV operation
ref_71635 = ref_71481 # MOV operation
ref_71637 = ref_71635 # MOV operation

print ref_71637 & 0xffffffffffffffff
