#include<stdio.h> int main(){ int a,b,c,d; scanf("%d %d %d %d",&a,&b,&c,&d); printf("%d",12*a*(a+b)/c%b); return 0; }
有帮助请采纳