#!/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_250 = SymVar_0
ref_261 = ref_250 # MOV operation
ref_273 = ref_261 # MOV operation
ref_275 = ref_273 # MOV operation
ref_309 = ((ref_275 >> 56) & 0xFF) # Byte reference - MOV operation
ref_310 = ((ref_275 >> 48) & 0xFF) # Byte reference - MOV operation
ref_311 = ((ref_275 >> 40) & 0xFF) # Byte reference - MOV operation
ref_312 = ((ref_275 >> 32) & 0xFF) # Byte reference - MOV operation
ref_313 = ((ref_275 >> 24) & 0xFF) # Byte reference - MOV operation
ref_314 = ((ref_275 >> 16) & 0xFF) # Byte reference - MOV operation
ref_315 = ((ref_275 >> 8) & 0xFF) # Byte reference - MOV operation
ref_316 = (ref_275 & 0xFF) # Byte reference - MOV operation
ref_18923 = ref_316 # MOVZX operation
ref_18989 = (ref_18923 & 0xFF) # MOVZX operation
ref_18991 = (ref_18989 & 0xFF) # MOVZX operation
ref_19275 = (ref_18991 & 0xFFFFFFFF) # MOV operation
ref_19277 = (((ref_19275 & 0xFFFFFFFF) + 0x1) & 0xFFFFFFFF) # ADD operation
ref_19652 = (ref_19277 & 0xFFFFFFFF) # MOV operation
ref_19661 = ((((0x0) << 32 | (ref_19652 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_19663 = (ref_19661 & 0xFFFFFFFF) # MOV operation
ref_19763 = (ref_19663 & 0xFFFFFFFF) # MOV operation
ref_20111 = (ref_19763 & 0xFFFFFFFF) # MOV operation
ref_20395 = (ref_20111 & 0xFFFFFFFF) # MOV operation
ref_20397 = (((ref_20395 & 0xFFFFFFFF) + 0x0) & 0xFFFFFFFF) # ADD operation
ref_20772 = (ref_20397 & 0xFFFFFFFF) # MOV operation
ref_20781 = ((((0x0) << 32 | (ref_20772 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_20783 = (ref_20781 & 0xFFFFFFFF) # MOV operation
ref_20883 = (ref_20783 & 0xFFFFFFFF) # MOV operation
ref_23322 = ref_315 # MOVZX operation
ref_23388 = (ref_23322 & 0xFF) # MOVZX operation
ref_23390 = (ref_23388 & 0xFF) # MOVZX operation
ref_23590 = (ref_19763 & 0xFFFFFFFF) # MOV operation
ref_23662 = (ref_23590 & 0xFFFFFFFF) # MOV operation
ref_23674 = (ref_23390 & 0xFFFFFFFF) # MOV operation
ref_23676 = (((ref_23674 & 0xFFFFFFFF) + (ref_23662 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_24051 = (ref_23676 & 0xFFFFFFFF) # MOV operation
ref_24060 = ((((0x0) << 32 | (ref_24051 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_24062 = (ref_24060 & 0xFFFFFFFF) # MOV operation
ref_24162 = (ref_24062 & 0xFFFFFFFF) # MOV operation
ref_24510 = (ref_24162 & 0xFFFFFFFF) # MOV operation
ref_24710 = (ref_20883 & 0xFFFFFFFF) # MOV operation
ref_24782 = (ref_24710 & 0xFFFFFFFF) # MOV operation
ref_24794 = (ref_24510 & 0xFFFFFFFF) # MOV operation
ref_24796 = (((ref_24794 & 0xFFFFFFFF) + (ref_24782 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_25171 = (ref_24796 & 0xFFFFFFFF) # MOV operation
ref_25180 = ((((0x0) << 32 | (ref_25171 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_25182 = (ref_25180 & 0xFFFFFFFF) # MOV operation
ref_25282 = (ref_25182 & 0xFFFFFFFF) # MOV operation
ref_27721 = ref_314 # MOVZX operation
ref_27787 = (ref_27721 & 0xFF) # MOVZX operation
ref_27789 = (ref_27787 & 0xFF) # MOVZX operation
ref_27989 = (ref_24162 & 0xFFFFFFFF) # MOV operation
ref_28061 = (ref_27989 & 0xFFFFFFFF) # MOV operation
ref_28073 = (ref_27789 & 0xFFFFFFFF) # MOV operation
ref_28075 = (((ref_28073 & 0xFFFFFFFF) + (ref_28061 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_28450 = (ref_28075 & 0xFFFFFFFF) # MOV operation
ref_28459 = ((((0x0) << 32 | (ref_28450 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_28461 = (ref_28459 & 0xFFFFFFFF) # MOV operation
ref_28561 = (ref_28461 & 0xFFFFFFFF) # MOV operation
ref_28909 = (ref_28561 & 0xFFFFFFFF) # MOV operation
ref_29109 = (ref_25282 & 0xFFFFFFFF) # MOV operation
ref_29181 = (ref_29109 & 0xFFFFFFFF) # MOV operation
ref_29193 = (ref_28909 & 0xFFFFFFFF) # MOV operation
ref_29195 = (((ref_29193 & 0xFFFFFFFF) + (ref_29181 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_29570 = (ref_29195 & 0xFFFFFFFF) # MOV operation
ref_29579 = ((((0x0) << 32 | (ref_29570 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_29581 = (ref_29579 & 0xFFFFFFFF) # MOV operation
ref_29681 = (ref_29581 & 0xFFFFFFFF) # MOV operation
ref_32120 = ref_313 # MOVZX operation
ref_32186 = (ref_32120 & 0xFF) # MOVZX operation
ref_32188 = (ref_32186 & 0xFF) # MOVZX operation
ref_32388 = (ref_28561 & 0xFFFFFFFF) # MOV operation
ref_32460 = (ref_32388 & 0xFFFFFFFF) # MOV operation
ref_32472 = (ref_32188 & 0xFFFFFFFF) # MOV operation
ref_32474 = (((ref_32472 & 0xFFFFFFFF) + (ref_32460 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_32849 = (ref_32474 & 0xFFFFFFFF) # MOV operation
ref_32858 = ((((0x0) << 32 | (ref_32849 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_32860 = (ref_32858 & 0xFFFFFFFF) # MOV operation
ref_32960 = (ref_32860 & 0xFFFFFFFF) # MOV operation
ref_33308 = (ref_32960 & 0xFFFFFFFF) # MOV operation
ref_33508 = (ref_29681 & 0xFFFFFFFF) # MOV operation
ref_33580 = (ref_33508 & 0xFFFFFFFF) # MOV operation
ref_33592 = (ref_33308 & 0xFFFFFFFF) # MOV operation
ref_33594 = (((ref_33592 & 0xFFFFFFFF) + (ref_33580 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_33969 = (ref_33594 & 0xFFFFFFFF) # MOV operation
ref_33978 = ((((0x0) << 32 | (ref_33969 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_33980 = (ref_33978 & 0xFFFFFFFF) # MOV operation
ref_34080 = (ref_33980 & 0xFFFFFFFF) # MOV operation
ref_36519 = ref_312 # MOVZX operation
ref_36585 = (ref_36519 & 0xFF) # MOVZX operation
ref_36587 = (ref_36585 & 0xFF) # MOVZX operation
ref_36787 = (ref_32960 & 0xFFFFFFFF) # MOV operation
ref_36859 = (ref_36787 & 0xFFFFFFFF) # MOV operation
ref_36871 = (ref_36587 & 0xFFFFFFFF) # MOV operation
ref_36873 = (((ref_36871 & 0xFFFFFFFF) + (ref_36859 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_37248 = (ref_36873 & 0xFFFFFFFF) # MOV operation
ref_37257 = ((((0x0) << 32 | (ref_37248 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_37259 = (ref_37257 & 0xFFFFFFFF) # MOV operation
ref_37359 = (ref_37259 & 0xFFFFFFFF) # MOV operation
ref_37707 = (ref_37359 & 0xFFFFFFFF) # MOV operation
ref_37907 = (ref_34080 & 0xFFFFFFFF) # MOV operation
ref_37979 = (ref_37907 & 0xFFFFFFFF) # MOV operation
ref_37991 = (ref_37707 & 0xFFFFFFFF) # MOV operation
ref_37993 = (((ref_37991 & 0xFFFFFFFF) + (ref_37979 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_38368 = (ref_37993 & 0xFFFFFFFF) # MOV operation
ref_38377 = ((((0x0) << 32 | (ref_38368 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_38379 = (ref_38377 & 0xFFFFFFFF) # MOV operation
ref_38479 = (ref_38379 & 0xFFFFFFFF) # MOV operation
ref_40918 = ref_311 # MOVZX operation
ref_40984 = (ref_40918 & 0xFF) # MOVZX operation
ref_40986 = (ref_40984 & 0xFF) # MOVZX operation
ref_41186 = (ref_37359 & 0xFFFFFFFF) # MOV operation
ref_41258 = (ref_41186 & 0xFFFFFFFF) # MOV operation
ref_41270 = (ref_40986 & 0xFFFFFFFF) # MOV operation
ref_41272 = (((ref_41270 & 0xFFFFFFFF) + (ref_41258 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_41647 = (ref_41272 & 0xFFFFFFFF) # MOV operation
ref_41656 = ((((0x0) << 32 | (ref_41647 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_41658 = (ref_41656 & 0xFFFFFFFF) # MOV operation
ref_41758 = (ref_41658 & 0xFFFFFFFF) # MOV operation
ref_42106 = (ref_41758 & 0xFFFFFFFF) # MOV operation
ref_42306 = (ref_38479 & 0xFFFFFFFF) # MOV operation
ref_42378 = (ref_42306 & 0xFFFFFFFF) # MOV operation
ref_42390 = (ref_42106 & 0xFFFFFFFF) # MOV operation
ref_42392 = (((ref_42390 & 0xFFFFFFFF) + (ref_42378 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_42767 = (ref_42392 & 0xFFFFFFFF) # MOV operation
ref_42776 = ((((0x0) << 32 | (ref_42767 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_42778 = (ref_42776 & 0xFFFFFFFF) # MOV operation
ref_42878 = (ref_42778 & 0xFFFFFFFF) # MOV operation
ref_45317 = ref_310 # MOVZX operation
ref_45383 = (ref_45317 & 0xFF) # MOVZX operation
ref_45385 = (ref_45383 & 0xFF) # MOVZX operation
ref_45585 = (ref_41758 & 0xFFFFFFFF) # MOV operation
ref_45657 = (ref_45585 & 0xFFFFFFFF) # MOV operation
ref_45669 = (ref_45385 & 0xFFFFFFFF) # MOV operation
ref_45671 = (((ref_45669 & 0xFFFFFFFF) + (ref_45657 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_46046 = (ref_45671 & 0xFFFFFFFF) # MOV operation
ref_46055 = ((((0x0) << 32 | (ref_46046 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_46057 = (ref_46055 & 0xFFFFFFFF) # MOV operation
ref_46157 = (ref_46057 & 0xFFFFFFFF) # MOV operation
ref_46505 = (ref_46157 & 0xFFFFFFFF) # MOV operation
ref_46705 = (ref_42878 & 0xFFFFFFFF) # MOV operation
ref_46777 = (ref_46705 & 0xFFFFFFFF) # MOV operation
ref_46789 = (ref_46505 & 0xFFFFFFFF) # MOV operation
ref_46791 = (((ref_46789 & 0xFFFFFFFF) + (ref_46777 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_47166 = (ref_46791 & 0xFFFFFFFF) # MOV operation
ref_47175 = ((((0x0) << 32 | (ref_47166 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_47177 = (ref_47175 & 0xFFFFFFFF) # MOV operation
ref_47277 = (ref_47177 & 0xFFFFFFFF) # MOV operation
ref_49716 = ref_309 # MOVZX operation
ref_49782 = (ref_49716 & 0xFF) # MOVZX operation
ref_49784 = (ref_49782 & 0xFF) # MOVZX operation
ref_49984 = (ref_46157 & 0xFFFFFFFF) # MOV operation
ref_50056 = (ref_49984 & 0xFFFFFFFF) # MOV operation
ref_50068 = (ref_49784 & 0xFFFFFFFF) # MOV operation
ref_50070 = (((ref_50068 & 0xFFFFFFFF) + (ref_50056 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_50445 = (ref_50070 & 0xFFFFFFFF) # MOV operation
ref_50454 = ((((0x0) << 32 | (ref_50445 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_50456 = (ref_50454 & 0xFFFFFFFF) # MOV operation
ref_50556 = (ref_50456 & 0xFFFFFFFF) # MOV operation
ref_50904 = (ref_50556 & 0xFFFFFFFF) # MOV operation
ref_51104 = (ref_47277 & 0xFFFFFFFF) # MOV operation
ref_51176 = (ref_51104 & 0xFFFFFFFF) # MOV operation
ref_51188 = (ref_50904 & 0xFFFFFFFF) # MOV operation
ref_51190 = (((ref_51188 & 0xFFFFFFFF) + (ref_51176 & 0xFFFFFFFF)) & 0xFFFFFFFF) # ADD operation
ref_51565 = (ref_51190 & 0xFFFFFFFF) # MOV operation
ref_51574 = ((((0x0) << 32 | (ref_51565 & 0xFFFFFFFF)) % 0xFFF1) & 0xFFFFFFFF) # DIV operation
ref_51576 = (ref_51574 & 0xFFFFFFFF) # MOV operation
ref_51676 = (ref_51576 & 0xFFFFFFFF) # MOV operation
ref_53578 = (ref_51676 & 0xFFFFFFFF) # MOV operation
ref_53770 = (ref_53578 & 0xFFFFFFFF) # MOV operation
ref_53778 = (((ref_53770 & 0xFFFFFFFF) << (0x10 & 0x1F)) & 0xFFFFFFFF) # SHL operation
ref_53785 = (ref_53778 & 0xFFFFFFFF) # MOV operation
ref_54005 = (ref_50556 & 0xFFFFFFFF) # MOV operation
ref_54085 = (ref_53785 & 0xFFFFFFFF) # MOV operation
ref_54089 = (ref_54005 & 0xFFFFFFFF) # MOV operation
ref_54091 = ((ref_54089 & 0xFFFFFFFF) | (ref_54085 & 0xFFFFFFFF)) # OR operation
ref_54196 = (ref_54091 & 0xFFFFFFFF) # MOV operation
ref_54500 = (ref_54196 & 0xFFFFFFFF) # MOV operation
ref_54568 = (ref_54500 & 0xFFFFFFFF) # MOV operation
ref_54592 = (ref_54568 & 0xFFFFFFFF) # MOV operation
ref_54600 = (ref_54592 & 0xFFFFFFFF) # MOV operation
ref_54602 = (ref_54600 & 0xFFFFFFFF) # MOV operation

print ref_54602 & 0xffffffffffffffff
