#include <iostream>
#include <string>
using namespace std;

// global constants
const int NORTH = 1;
const int SOUTH = 2;
const int EAST = 3;
const int WEST = 4;

// function declarations
void display( int thing, string str );

int main()
{
    display( SOUTH, "hi" ); // function call
    display( NORTH, "hello" ); // function call
    return 0;
}

// function definition
void display( int thing, string str )
{
    int dummy = 100;
    if ( thing == NORTH ) { cout << "North"; return; }
    if ( thing == SOUTH ) { cout << "South"; return; }
    if ( thing == EAST ) { cout << "East"; return; }
    if ( thing == WEST ) { cout << "West"; return; }
}