#include using namespace std; int main(){ double a,b,h,m; cin>>a>>b; h=a*30+(b/60)*30; if(b==0){ b+=60; } m=b*6; if(h