include <iostream>
using namespace std; int main() { int x; float y,z; cin>>x>>y; if (x%5 != 0){ cout<<y; }="" else="" if="" (x=""> y) { cout << y;
}
else {
y=y-(x+0.50);
cout << y;
}
}
using namespace std; int main() { int x; float y,z; cin>>x>>y; if (x%5 != 0){ cout<<y; }="" else="" if="" (x=""> y) { cout << y;
}
else {
y=y-(x+0.50);
cout << y;
}
}