#include <stdio.h> int main() { int n, inch; int foot; scanf("%d", &n); foot = n /100.0/0.3048; inch =(n/100.0/0.3048-foot)*12; printf("%d %d",foot,inch); return 0; }
#include <stdio.h> int main() { int n, inch; int foot; scanf("%d", &n); foot = n /100.0/0.3048; inch =(n/100.0/0.3048-foot)*12; printf("%d %d",foot,inch); return 0; }