#include <stdio.h>
int main(void) {
int n, i=0;
float f;
char c[2];
while(i++<n){
if(c
[0]=='k') printf("%.4f lb\n", f
*2.2046); else if(c
[0]=='g') printf("%.4f l\n", f
*3.7854); else if(c
[1]=='b') printf("%.4f kg\n", f
*0.4536); else printf("%.4f g\n", f
*0.2642); }
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CglpbnQgbiwgaT0wOwoJZmxvYXQgZjsKCWNoYXIgY1syXTsKCXNjYW5mKCIlZCIsJm4pOwoJd2hpbGUoaSsrPG4pewoJCXNjYW5mKCIlZiVzIiwmZiwgYyk7CgkJcHJpbnRmKCIlZCAiLCBpKTsKCQlpZihjWzBdPT0naycpIHByaW50ZigiJS40ZiBsYlxuIiwgZioyLjIwNDYpOwoJCWVsc2UgaWYoY1swXT09J2cnKSBwcmludGYoIiUuNGYgbFxuIiwgZiozLjc4NTQpOwoJCWVsc2UgaWYoY1sxXT09J2InKSBwcmludGYoIiUuNGYga2dcbiIsIGYqMC40NTM2KTsKCQllbHNlIHByaW50ZigiJS40ZiBnXG4iLCBmKjAuMjY0Mik7Cgl9CglyZXR1cm4gMDsKfQ==