Two boys decided to compete in text typing on the site "Key races". During the competition, they have to type a text consisting of s characters. The first participant types one character in v_1 milliseconds and has ping t_1 milliseconds. The second participant types one character in v_2 milliseconds and has ping t_2 milliseconds.

If connection ping (delay) is t milliseconds, the competition passes for a participant as follows:   Exactly after t milliseconds after the start of the competition the participant receives the text to be entered.  Right after that he starts to type it.  Exactly t milliseconds after he ends typing all the text, the site receives information about it. 

The winner is the participant whose information on the success comes earlier. If the information comes from both participants at the same time, it is considered that there is a draw.

Given the length of the text and the information about participants, determine the result of the game.


-----Input-----

The first line contains five integers s, v_1, v_2, t_1, t_2 (1 ≤ s, v_1, v_2, t_1, t_2 ≤ 1000) — the number of characters in the text, the time of typing one character for the first participant, the time of typing one character for the the second participant, the ping of the first participant and the ping of the second participant.


-----Output-----

If the first participant wins, print "First". If the second participant wins, print "Second". In case of a draw print "Friendship".


-----Examples-----
Input
5 1 2 1 2

Output
First

Input
3 3 1 1 1

Output
Second

Input
4 5 3 1 5

Output
Friendship



-----Note-----

In the first example, information on the success of the first participant comes in 7 milliseconds, of the second participant — in 14 milliseconds. So, the first wins.

In the second example, information on the success of the first participant comes in 11 milliseconds, of the second participant — in 5 milliseconds. So, the second wins.

In the third example, information on the success of the first participant comes in 22 milliseconds, of the second participant — in 22 milliseconds. So, it is be a draw.

Difficulty: interview

Starter code:

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


s, v1, v2, t1, t2 = map(int, input().split())

if (s*v1 + t1*2) < (s*v2 + t2*2):
    print('First')
elif (s*v1 + t1*2) > (s*v2 + t2*2):
    print('Second')
else:
    print('Friendship')

s, v1, v2, t1, t2 = map(int, input().split())
a = 2 * t1 + s * v1
b = 2 * t2 + s * v2
if a  < b:
	print("First")
elif a == b:
	print("Friendship")
else:
	print("Second")

import sys
s, v1, v2, t1, t2 = list(map(int, input().split()))
tt1 = v1 * s + 2 * t1
tt2 = v2 * s + 2 * t2
if (tt1 < tt2):
    print('First')
elif tt1 == tt2:
    print('Friendship')
else:
    print('Second')


s, v1, v2, t1, t2 = map(int,input().split())
res1 = 2*t1+s*v1
res2 = 2*t2+s*v2
if res1 == res2: print("Friendship")
elif res1 < res2: print("First")
else: print("Second")

s,v1,v2,t1,t2=list(map(int,input().split()))
a1=t1+t1+s*v1
a2=t2+t2+s*v2
if a1 == a2:
    print('Friendship')
elif a1 < a2:
    print('First')
else:
    print('Second')


"""
Codeforces Round 427 Div 2 Problem A

Author  : chaotic_iak
Language: Python 3.5.2
"""

################################################### SOLUTION

def main():
    s, v1, v2, t1, t2 = read()
    l1 = v1*s + t1*2
    l2 = v2*s + t2*2
    if l1 < l2:
        return "First"
    if l1 > l2:
        return "Second"
    return "Friendship"

#################################################### HELPERS

def read(callback=int):
    return list(map(callback, input().strip().split()))

def write(value, end="\n"):
    if value is None: return
    try:
        if not isinstance(value, str):
            value = " ".join(map(str, value))
    except:
        pass
    print(value, end=end)

write(main())


s, v1, v2, t1, t2 = map(int, input().split())

a1 = v1 * s + 2 * t1
a2 = v2 * s + 2 * t2

if a1 < a2:
	print('First')
elif a2 < a1:
	print('Second')
else:
	print('Friendship')

s,v1,v2,t1,t2=[int(x) for x in input().split()]
if t1*2+s*v1<t2*2+s*v2:
	print("First")
if t1*2+s*v1==t2*2+s*v2:
	print("Friendship")
if t1*2+s*v1>t2*2+s*v2:
	print("Second")


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

s, v1, v2, t1, t2 = map(int, input().split())

p1 = 2 * t1 + s * v1
p2 = 2 * t2 + s *  v2

if p1 < p2:
    print('First')
elif p1 > p2:
    print('Second')
else:
    print('Friendship')

s, v1, v2, t1, t2 = [int(i) for i in input().split()]
tm1 = s * v1 + 2 * t1
tm2 = s * v2 + 2 * t2
if tm1 == tm2:
    print('Friendship')
elif tm1 > tm2:
    print('Second')
else:
    print('First')

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

s,v1,v2,t1,t2 = list(map(int,input().split()))

p1 = t1 * 2 + v1 * s
p2 = t2 * 2 + v2 * s

if p1 < p2:
    print("First")
elif p1 > p2:
    print("Second")
else:
    print("Friendship")


def chop():
    return (int(i) for i in input().split())
s,v1,v2,t1,t2=chop()
a1=s*v1+t1*2
a2=s*v2+t2*2
if a1==a2:
    print('Friendship')
elif a1<a2:
    print('First')
else:
    print('Second')


s,v1,v2,t1,t2=map(int,input().split())
a,b=t1*2+s*v1,t2*2+s*v2
if a<b:
	print("First")
elif a>b:
	print("Second")
else:
	print("Friendship")

import sys


def main():
    s, v1, v2, t1, t2 = list(map(int, sys.stdin.readline().split()))
    a1 = t1 * 2 + v1 * s
    a2 = t2 * 2 + v2 * s
    if a1 < a2:
        print("First")
    elif a2 < a1:
        print("Second")
    else:
        print("Friendship")


main()


s,v1,v2,t1,t2 = list(map(int, input().split()))
if t1+s*v1+t1 < t2+s*v2+t2 :
    print ("First")
elif t1+s*v1+t1 > t2+s*v2+t2 :
    print ("Second")
else:
    print ("Friendship")


from sys import stdin, stdout

s, v1,v2,t1,t2 = map(int, stdin.readline().rstrip().split())

rez1 = s * v1 + 2*t1
rez2 = s * v2 + 2*t2

if rez1 < rez2:
    print("First")
elif rez1 > rez2:
    print("Second")
else:
    print("Friendship")

s,v1,v2,t1,t2 = map(int, input().split())
if v1*s + 2*t1 == v2*s + 2*t2:
    print('Friendship')
if v1*s + 2*t1 < v2*s + 2*t2:
    print('First')
if v1*s + 2*t1 > v2*s + 2*t2:
    print('Second')

a,b,c,d,e=list(map(int,input().split()))
ans1=a*b+2*d
ans2=a*c+2*e
if(ans1==ans2):
	print("Friendship")
elif(ans1>ans2):
	print("Second")
else:
	print("First")

s, v1, v2, t1, t2 = map(int, input().split(' '))
firstTime = t1 + s*v1 + t1
secondTime = t2 + s*v2 + t2

if firstTime < secondTime: print("First")
elif firstTime == secondTime: print("Friendship")
else: print("Second")

s, v1, v2, t1, t2 = map(int, input().split())
if v1 * s + t1 * 2 < v2 * s + t2 * 2:
    print("First")
elif v1 * s + t1 * 2 > v2 * s + t2 * 2:
    print("Second")
else:
    print("Friendship")

s, v1, v2, t1, t2 = list(map(int, input().split(' ')))

a = 2 * t1 + s * v1
b = 2 * t2 + s * v2

if a < b:
    print("First")
elif b < a:
    print("Second")
else:
    print("Friendship")


s, v1, v2, t1, t2 = (int(x) for x in input().split());

ans1 = t1*2 + s*v1;
ans2 = t2*2 + s*v2;

if ans1 < ans2:
    ans = "First";
else:
    if ans1 == ans2:
        ans = "Friendship";
    else:
        ans = "Second";
print(ans);