#include #define rep(i,a,b) for(int i=a;i<(b);++i) #define erep(i,a,b) for(int i=a;i<=(int)(b);++i) #define per(i,a,b) for(int i=(a);i>(b);--i) #define eper(i,a,b) for(int i=(a);i>=b;--i) #define pb push_back #define mp make_pair #define INF 100100100100 #define MOD 1000000007 #define ALL(x) begin(x),end(x) using namespace std; typedef long long ll; typedef pair Pii; typedef vector vii; typedef vector vll; templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b> a >> b >> c; if (60.0 * a - b < 0) printf("-1\n"); else printf("%d\n", (int)ceil((60.0 * 60.0 * c) / (60.0 * a - b))); return 0; }