#include<bits/stdc++.h> using namespace std; int main(){ int n,h,f; cin>>n; h=n*24; f=h*60; cout<<h<<endl<<f; return 0; } /************************************************************** Problem: 1600 User: tangkaixuan Language: C++ Result: Accepted Time:8 ms Memory:2072 kb ****************************************************************/