#include int main(void) { int a; int b; int q; int w; int ac; scanf("%d%d",&a,&b); q=50*a; w=50*a/(0.8+0.2*b); ac=w+q; printf("%d\n%d\n%d",q,w,ac); return 0; }