#include <stdio.h> #include <math.h> int main() { float x; scanf("%f",&x); printf("%.8f\n",pow(1+x,365)); printf("%.8f\n",pow(1-x,365)); return 0; }