print((28433*2**7830547+1)%(10**10))