from Crypto.Util.number import * output=['1001100000001010100011000010111010110110010101000000000010010011111110111111111010111100110110010101010000001100010011101110010111001011111110100010101101110100001110000011010001000010001100011111000101110001011101111111100111010110100110000000101001010000010100000111100101111101111110010110010110110101100100010110111111000001011111010111001001000100000110110001101101110111010000110100000101101100111011010010110011011110101000001100000101001111101001000110000111011111010111011110111001001100100011010111110010111011101011000111101110000111101100101111001100000010110000111010000000101010110110100110111001001110101010010110111100111000101101110110100101011000110111000110000011111011010010000101101010001010110010000111001010010100110011001011000010110001001111110110111101010001001010001100111110010100101100011100111101100111010100101011111001100110001110011011000101001111101010000011010101110111110010011100011011000111000111111001111000001100101011011101100111100110011111010011010101001011', '0010100011011110101100000111101011101100101110011000110110101000010000011101000110100110011110101010100101000011100110110111000011111100100011001101110001100001010101011111001010100011001111111101001101101100111011011011010111101101010000001111010101011011110111101110100011011001101101010011001110011000100010100111001001111110100010100010010100111000001110101111001011101011010010110000010011000010001011011111101100111010001111100110010101011011010010110001001101010010100010010011000011001010110111000110110001001110001000110011111100000010001000000001010001010101000110101001100001100011100001011110011000111001101101001010000001101110101011010110110111010111011110010010110000011011010100101110100010001001010110011010110001101001111100010110111011110101001010000110101111000010101000111011010010011111111011101000101001001011011010110111111100001101110111111110001110001000010100110001111100100011011011001110010011000101001100110010000100110001101000111000101100101010001011100010000100111000', '0000010001010010111001101110001100000111001000111101011011000110000011000001000111001011111101010001100011110001111010100010000110010001100000001001001001110100000101010111010110111000000010000110100011110000111100111111101110001101101100010000011001010101100110000111111100111101001000011101111011110001010001110111101101011100001000111110111011101111001101100100101101101000101011000100100101110111011101110110110011011111001111010111000100001111100111110111101111110011000001110001001101111001000111110101110110010000000011011011001110110001010100000011010100000100111101000010111111100111100010100111011111110000000101101010010101010000001111011101011111011111010010101000001010010101001001000100011110001000010000100111101110100110011100000001111001001000100010011111011101010001100110100010000001000101101000001101010011101001000010101001000100101100110111011101001000110000111101011110101101001010011100011001000000010110111001001010101100100001100011011011011010111110100011111101000001101110', '1100100111111110100000001011110000110000111010011110100101010010011011111011001001110101001001100100010001010000111101100000100011110111011100100111000001100101011111110000000111100011000111111001110001110000010001000000001001110011111000011000000001100101000101100011110010101111101110000010001000110101101110110110111010010111010011100010111111011101111111111000011000001100000001111000001001010000110001101111001000000011011111111110111101010111101101100000100010111000110001101110111111100011011101001101111100001100110101101110100110111011110001010111001110101011110110111001010111001001000011101100011010011010011000001010110010100100001101111010011000110001110000011010100110000100010110010110110100011001000011011011011010011100001001110000101001100000000001101001001010101101111100000001000010001101010000111101011010001110100101001011011001010111010000101000100110001110101101101100010111100010110011011011011100110101000101011101010000001100011000000001101000110100101001010111111100000010'] flag='' for j inrange(4): R = '' key=(output[j])[:32] temp=key for i inrange(32): out = '?'+key[:31] ans=int(temp[-1-i])^int(out[-1])^int(out[-4])^int(out[-8])^int(out[-11])^int(out[-15])^int(out[-20])^int(out[-25])^int(out[-28]) R += str(ans) key = str(ans) + key[:31] R = format(int(R[::-1],2),'x') flag+=R print('VIDAR{'+flag+'}')