#include <stdio.h>
#include <math.h>
int main() {
unsigned long p, q;
char c;
while ((c = getchar_unlocked()) != EOF) {
p = c - '0';
while ((c = getchar_unlocked()) != ' ') {
p = (p<<1) + (p<<3) + c - '0';
}
q = 0;
while ((c = getchar_unlocked()) != '\n') {
q = (q<<1) + (q<<3) + c - '0';
}
q += p;
q *= q;
// q = 100*q/p;
printf("%ld,%02ld\n", q
/p
, q
%100); }
return 0;
}
/*
171.50
125.00
12100077.00
14779724538.07
400.00
1000000000000000000.00
*/
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxtYXRoLmg+CgppbnQgbWFpbigpIHsKICAgIHVuc2lnbmVkIGxvbmcgcCwgcTsKICAgIGNoYXIgYzsKICAgIAogICAgd2hpbGUgKChjID0gZ2V0Y2hhcl91bmxvY2tlZCgpKSAhPSBFT0YpIHsKICAgICAgICBwID0gYyAtICcwJzsKICAgICAgICAKICAgICAgICB3aGlsZSAoKGMgPSBnZXRjaGFyX3VubG9ja2VkKCkpICE9ICcgJykgewogICAgICAgICAgICBwID0gKHA8PDEpICsgKHA8PDMpICsgYyAtICcwJzsKICAgICAgICB9CiAgICAgICAgCiAgICAgICAgcSA9IDA7CiAgICAgICAgd2hpbGUgKChjID0gZ2V0Y2hhcl91bmxvY2tlZCgpKSAhPSAnXG4nKSB7CiAgICAgICAgICAgIHEgPSAocTw8MSkgKyAocTw8MykgKyBjIC0gJzAnOwogICAgICAgIH0KICAgICAgICBxICs9IHA7CiAgICAgICAgcSAqPSBxOwogICAgICAgLy8gcSA9IDEwMCpxL3A7CiAgICAgICAgcHJpbnRmKCIlbGQsJTAybGRcbiIsIHEvcCwgcSUxMDApOwogICAgfQogICAgCiAgICByZXR1cm4gMDsKfQovKgoxNzEuNTAKMTI1LjAwCjEyMTAwMDc3LjAwCjE0Nzc5NzI0NTM4LjA3CjQwMC4wMAoxMDAwMDAwMDAwMDAwMDAwMDAwLjAwCiov