#include <bits/stdc++.h>   using namespace std;   const int Maxn = 1000 + 10;   const int INF = 0x7f7f7f7f;   const double eps = 1e-10;   const double pi = acos(-1.0);   inline int realcmp(double a, double b) {     return (a > b + eps) ? 1 : ((a + eps < b) ? -1 : 0);   }   int main() {     double hh, mm;     ios::sync_with_stdio(0);     scanf( %lf:%lf , &hh, &mm);     hh += mm / 60;     while (realcmp(hh, 12) >= 0) hh -= 12;     printf( %.9lf  , 30.0 * hh);     printf( %.9lf n , 6.0 * mm);     return 0;   }   