#include<bits/stdc++.h>
using namespace std;
int main(){
int n=10,a=24,c=60;
n=n*a;
cout<<n*c<<endl;
cout<<n;
return 0;
}
/**************************************************************
Problem: 1600
User: fuhoubin
Language: C++
Result: Wrong Answer
****************************************************************/