using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication2
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] s =Console.ReadLine().Split(' ');
            int a = int.Parse(s[0]);
            int b = int.Parse(s[1]);
            int c = int.Parse(s[2]);
            int count = 0;

            for (int i = a; i <= b; i++)
            {
                if ((c / i) == 0)
                {
                    count++;
                }
            }

            Console.WriteLine(c);

        }
    }
}