#include<stdio.h>
#include<math.h>
main(){
printf("%f\n",-10+3-10.0/2-2*3);
printf("%f\n",-10+3-(10.0/2)-(2*3));
}
I2luY2x1ZGU8c3RkaW8uaD4KCiNpbmNsdWRlPG1hdGguaD4KCm1haW4oKXsKCnByaW50ZigiJWRcbiIsMTArOCk7CgpwcmludGYoIiVmXG4iLDEwKzguMCk7CgpwcmludGYoIiVmXG4iLDEwLjArOCk7CgpwcmludGYoIiVmXG4iLDUuMCsyKjMtNSk7CgogICBwcmludGYoIiVmXG4iLDUuMCsoMiozKS01KTsKCiAgcHJpbnRmKCIlZlxuIiwoKDUuMCsyKSozKS01KTsKCiAgIHByaW50ZigiJWZcbiIsLTEwKzMtMTAuMC8yLTIqMyk7CgogICBwcmludGYoIiVmXG4iLC0xMCszLSgxMC4wLzIpLSgyKjMpKTsKCiAgIHByaW50ZigiJWZcbiIscG93KDMsMikpOwoKICAgcHJpbnRmKCIlZFxuIixwb3coMywyKSk7Cgp9