#include <stdio.h> int main() { double K,F; scanf("%lf",&K); F = (K - 273.15) * 1.8 + 32; printf("%lf",F); return 0; }