#!/usr/bin/python3
# uses pycryptodome package, installed in this directory 
import Crypto.Util.number as num
import os, pwd
import hashlib

def getlogin():
    return pwd.getpwuid(os.getuid())[0]


p = 2**31 - 1
n = int.from_bytes(hashlib.sha256(getlogin().encode('utf-8')).digest(),'big')

print("Your n={}".format(n % p))
