int main() { int level; scanf("%d",&level); float fight = 2000.f*(1.f+7.f*(float)level/18.f); printf("%f\n",fight); return 0; }