#using mscorlib.dll

using namespace System;

int GetFahrenheit()
{
	int Temp;

	Console::Write("Enter the temperature in Fahrenheit: ");
	String *dTemp = Console::ReadLine();
	Temp = dTemp->ToInt32(0);

	return Temp;
}

int _tmain()
{
    // TODO: Please replace the sample code below with your own.
	int Cels, Fahr;

	Fahr = GetFahrenheit();
	Cels = 5 * (Fahr - 32) / 9;

	Console::WriteLine(S"{0}F = {1}C\n", Fahr.ToString(), Cels.ToString());
	return 0;
}