#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; cout<<n%10<<" "<<n/10; return 0; }
using namespace std; int main(){
int n,m;
double ans; cin>>n>>m; ans=n-m*0.8; printf("%.2lf",ans);
return 0;
}