#using <mscorlib.dll>

using namespace System;

void GetFahrenheit(int &Temp)
{
	Console::Write("Enter the temperature in Fahrenheit: ");
	String *dTemp = Console::ReadLine();
	Temp = dTemp->ToInt32(0);
}

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

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

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