try:
        a, b = input().split('/')
        res = [('1/' + b) for i in range(int(a))]
        print('+'.join(i for i in res))
    except:
        break