﻿using System;

class LastDigit
{
    static string lastDigitToString(int value)
    {
        string[] digits = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine" };
        return digits[value % 10];
    }
    static void Main()
    {
        Console.WriteLine("The result for 146 : {0}",lastDigitToString(146));
        Console.WriteLine("The result for 100 : {0}",lastDigitToString(100));
        Console.WriteLine("The result for   9 : {0}",lastDigitToString(9));
    }
}

