#include <bits/stdc++.h>
using namespace std;
int main() {
int n,h;
float a,b,x;
cin>>n;
a=n/100;
b=n%100;
h=a+b;
x=a/b;
printf("%d\n%.1f",h,x);
return 0;
}
/**************************************************************
Problem: 1609
User: fuhoubin
Language: C++
Result: Accepted
Time:9 ms
Memory:2072 kb
****************************************************************/