def main():
    [s, v1, v2, t1, t2] = list(map(int, input().split()))
    if s * v1 + 2 * t1 > s * v2 + 2 * t2:
        print('Second')
    elif s * v1 + 2 * t1 < s * v2 + 2 * t2:
        print('First')
    else:
        print('Friendship')


if __name__ == '__main__':
    main()

a722b4da1420a4d57d12e7f3946335984013aa85
<mask token>

def main():
    [s, v1, v2, t1, t2] = list(map(int, input().split()))
    if s * v1 + 2 * t1 > s * v2 + 2 * t2:
        print('Second')
    elif s * v1 + 2 * t1 < s * v2 + 2 * t2:
        print('First')
    else:
        print('Friendship')


<mask token>

def main():
    [s, v1, v2, t1, t2] = list(map(int, input().split()))
    if s * v1 + 2 * t1 > s * v2 + 2 * t2:
        print('Second')
    elif s * v1 + 2 * t1 < s * v2 + 2 * t2:
        print('First')
    else:
        print('Friendship')


if __name__ == '__main__':
    main()
