#!/usr/bin/python

import sys
from decimal import *

b=Decimal('1')
a1=Decimal('1')
a2=Decimal('1')


a = int(sys.argv[1])
for i in range (1,a):
  total=1+(1/b)
  b=total
  tmp=a2
  a2+=a1
  a1=tmp
  print a2,"/",a1,'=',total


