#!/usr/bin/python
#nivel's Crackme 1 by nivel Key Gen
import math

s = raw_input("Please enter login: ")

init_v = 0
const = math.log(2)                             # FLDLN2

for i in s:
        x = const*math.log(ord(i),2)            # FYL2x = y*log2(x) = const*math.log(65,2)
        x1 = math.cos(ord(i))
        x2 = x + x1
        x2a = x2 + init_v
        x3 = int(x2a)
        x4 = x3^0x2710
        x5 = math.sin(x2)
        x6 = math.tan(x3)
        x7 = x5*x6
        x8 = x7*x4
        x9 = x8+x3
        x10 = int(x9)
        init_v = x10

print "Serial number is: ",x10
