Codeforce problem 1A

Remember to use __int64