int main(void){
 int a = 0;
 int b = 0;
 int c = 0;
 int d = 0;
 int i = 0;
   
 scanf("%d %d %d",&a,&b,&c);
  for(i = a;i<=b;i++){
   d = c%i;
   if(d==0){
    printf("%d\n",i);
   }
  }
 return 0;
}