Fibonacci sequence generator

#include <iostream>
#include <cstdlib>

using namespace std;

int feeb (int seq)
{
long long f = 1;
long long g = 1;
long long i;
long long sum;

for (i = 0; i < seq; i++)
{
sum = f + g;
f = g;
g = sum;
cout << sum << "n";
}
return sum;
}

int main()
{
int input;
cout << "please enter the nth digit of the nfibonacci sequence you would like to know! n n" ;
cin >> input;
feeb (input);
return 0;
}