#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
float x,y,e,h;
cin>>n;
x=n/100;
y=n%100;
h=x+y;
e=x/y;
cout<<h<<endl;
printf("%.1f",e);
}
/**************************************************************
Problem: 1609
User: huanglingkai
Language: C++
Result: Accepted
Time:10 ms
Memory:2072 kb
****************************************************************/