#include <iostream>
#include <string>

using namespace std;

int main()
{
   int a, b, c, y;
	string x;
	
	cin >> a >> b >> c;
	
	if(1<=a,b,c<=1000&&a<=b)
	{
		 for (int x = a; x <= b; x++)
          {
          	if(c%x==0)
          	{
          		cout << x.length() << " ";
          	}
          }
	}
         return 0;
}
  