1 #include <iostream> 2 #include <stdio.h> 3 using namespace std; 4 5 int main(){ 6 int s,v1,v2,t1,t2; 7 scanf("%d %d %d %d %d", &s ,&v1, &v2, &t1, &t2); 8 int m=t1+s*v1+t1; 9 int n=t2+s*v2+t2; 10 if(m<n) printf("First "); 11 else if(m>n) printf("Second "); 12 else printf("Friendship "); 13 return 0; 14 }