#include <iostream>
using namespace std;
int main(){
unsigned int h0, m0, hf, mf;
unsigned int M;
cout << "Ora actuala (H M) : ";
cin >> h0 >> m0;
cout << "Ora la care in cepe filmul (H M) : ";
cin >> hf >> mf;
M = hf*60 + mf - h0*60 - m0; //Operatia de atribuire care calucleaza timpul ramas pana la film
cout << "Minute ramase pana la film : " << M;
}