#include <bits/stdc++.h>   using namespace std;   long long int arr[105];   int32_t main() {     ios_base::sync_with_stdio(false);     cin.tie(0);     cout.tie(0);     long long int n, x, y, t, l, m, k = 0, r = 0, a, b, c, d, p = 0, q = 0, s, i,                                     j, ans = 0, ans1 = 0;     string s1;     char ch;     cin >> t;     while (t--) {       cin >> n >> a >> b >> c >> d;       q = a + b;       p = a - b;       s = c + d;       r = c - d;       x = p * n;       y = q * n;       if (x > s || y < r)         cout <<  No               <<   n ;       else         cout <<  Yes               <<   n ;     }     return 0;   }   