#!/usr/bin/env python3

from Crypto.Util.number import bytes_to_long, getPrime

def main():
    with open('flag.txt', 'rb') as f:
        flag = f.read()

    N = getPrime(1024) * getPrime(1024)
    e = 3
    m = bytes_to_long(flag)

    c = pow(m, e, N)

    print(f'{N = }')
    print(f'{c = }')

if __name__ == '__main__':
    main()