#include <iostream>
#include <cmath>
using namespace std;
int main(){
float x = 2.958;
cout << floorf(x * 10) / 10;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y21hdGg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgoKaW50IG1haW4oKXsKICAgIGZsb2F0IHggPSAyLjk1ODsKICAgIGNvdXQgPDwgZmxvb3JmKHggKiAxMCkgLyAxMDsKICAgIHJldHVybiAwOwp9Cg==