#include<bits/stdc++.h>
using namespace std;
int main(){
int n,x,h=0;
float y,p=0;
scanf("%d",&n);
x=n/100;
y=n%100;
h=x+y;
p=x/y;
printf("%d\n%.1f",h,p);
return 0;
}
/**************************************************************
Problem: 1609
User: xiaojingxuan
Language: C++
Result: Accepted
Time:8 ms
Memory:2076 kb
****************************************************************/