#include <iostream>
using namespace std;
// your code here: declare and define printValue(int)
void printValue(int x) {
std::cout << "Value=" << x << std::endl;
}void printValue(float x) {
std::cout << "Value=" << x << std::endl;
}
// your code here: declare and define printValue(float)
int main() {
float val;
cin >> val;
if (val == (int)val) {
printValue((int)val); // int version
} else {
printValue(val); // float version
}
return 0;
}