import sys
a=sys.stdin.readline()
res = [int(i) for i in a.split() if i.isdigit()] 
r,D,x2000 = [res[i] for i in (0,1,2)]
if (r>=2 and r<=5) and (D>=1 and D<=100) and (x2000>D and x2000<=200):
    x2001=r*x2000-D
    x2002=r*x2001-D
    x2003=r*x2002-D
    x2004=r*x2003-D
    x2005=r*x2004-D
    x2006=r*x2005-D
    x2007=r*x2006-D
    x2008=r*x2007-D
    x2009=r*x2008-D
    x2010=r*x2009-D
    print(x2001)
    print(x2002)
    print(x2003)
    print(x2004)
    print(x2005)
    print(x2006)
    print(x2007)
    print(x2008)
    print(x2009)
    print(x2010)
else:
    print("Error") import sys sys a=sys.stdin.readline() a sys.stdin.readline() sys.stdin.readline sys.stdin sys stdin readline int(i) for i in a.split() if i.isdigit() for i in a.split() if i.isdigit() i a.split() a.split a split i.isdigit() i.isdigit i isdigit if i.isdigit() int(i) int i res = [int(i) for i in a.split() if i.isdigit()] res [int(i) for i in a.split() if i.isdigit()] res[i] for i in (0,1,2) for i in (0,1,2) i (0,1,2) 0 1 2 for i in (0,1,2) res[i] res i r,D,x2000 = [res[i] for i in (0,1,2)] r [res[i] for i in (0,1,2)] D x2000 if (r>=2 and r<=5) and (D>=1 and D<=100) and (x2000>D and x2000<=200):
    x2001=r*x2000-D
    x2002=r*x2001-D
    x2003=r*x2002-D
    x2004=r*x2003-D
    x2005=r*x2004-D
    x2006=r*x2005-D
    x2007=r*x2006-D
    x2008=r*x2007-D
    x2009=r*x2008-D
    x2010=r*x2009-D
    print(x2001)
    print(x2002)
    print(x2003)
    print(x2004)
    print(x2005)
    print(x2006)
    print(x2007)
    print(x2008)
    print(x2009)
    print(x2010)
else:
    print("Error") (r>=2 and r<=5) and (D>=1 and D<=100) and (x2000>D and x2000<=200) (r>=2 and r<=5) and (D>=1 and D<=100) r>=2 and r<=5 r>=2 r 2 r<=5 r 5 D>=1 and D<=100 D>=1 D 1 D<=100 D 100 x2000>D and x2000<=200 x2000>D x2000 D x2000<=200 x2000 200 x2001=r*x2000-D x2001 r*x2000-D r*x2000 r x2000 D x2002=r*x2001-D x2002 r*x2001-D r*x2001 r x2001 D x2003=r*x2002-D x2003 r*x2002-D r*x2002 r x2002 D x2004=r*x2003-D x2004 r*x2003-D r*x2003 r x2003 D x2005=r*x2004-D x2005 r*x2004-D r*x2004 r x2004 D x2006=r*x2005-D x2006 r*x2005-D r*x2005 r x2005 D x2007=r*x2006-D x2007 r*x2006-D r*x2006 r x2006 D x2008=r*x2007-D x2008 r*x2007-D r*x2007 r x2007 D x2009=r*x2008-D x2009 r*x2008-D r*x2008 r x2008 D x2010=r*x2009-D x2010 r*x2009-D r*x2009 r x2009 D print(x2001) print x2001 print(x2002) print x2002 print(x2003) print x2003 print(x2004) print x2004 print(x2005) print x2005 print(x2006) print x2006 print(x2007) print x2007 print(x2008) print x2008 print(x2009) print x2009 print(x2010) print x2010 print("Error") print "Error" x2007=r*x2006-D r*x2006-D x2007 res = [int(i) for i in a.split() if i.isdigit()] [int(i) for i in a.split() if i.isdigit()] res x2002=r*x2001-D r*x2001-D x2002 x2001=r*x2000-D r*x2000-D x2001 x2003=r*x2002-D r*x2002-D x2003 x2004=r*x2003-D r*x2003-D x2004 a=sys.stdin.readline() sys.stdin.readline() a r,D,x2000 = [res[i] for i in (0,1,2)] [res[i] for i in (0,1,2)] r x2000 = [res[i] for i in (0,1,2)] [res[i] for i in (0,1,2)] x2000 x2010=r*x2009-D r*x2009-D x2010 D,x2000 = [res[i] for i in (0,1,2)] [res[i] for i in (0,1,2)] D x2009=r*x2008-D r*x2008-D x2009 x2005=r*x2004-D r*x2004-D x2005 x2008=r*x2007-D r*x2007-D x2008 x2006=r*x2005-D r*x2005-D x2006
import sys
a=sys.stdin.readline()
res = [int(i) for i in a.split() if i.isdigit()] 
r,D,x2000 = [res[i] for i in (0,1,2)]
if (r>=2 and r<=5) and (D>=1 and D<=100) and (x2000>D and x2000<=200):
    x2001=r*x2000-D
    x2002=r*x2001-D
    x2003=r*x2002-D
    x2004=r*x2003-D
    x2005=r*x2004-D
    x2006=r*x2005-D
    x2007=r*x2006-D
    x2008=r*x2007-D
    x2009=r*x2008-D
    x2010=r*x2009-D
    print(x2001)
    print(x2002)
    print(x2003)
    print(x2004)
    print(x2005)
    print(x2006)
    print(x2007)
    print(x2008)
    print(x2009)
    print(x2010)
else:
    print("Error")