#include<iostream>
using namespace std;
int main(){
    int a,b,c;
    cin>>a>>b>>c;
    while(a<=b){
        if (c/a==0){
            cout<<a<<endl;
            a++
        }
    
        
    }
    
    return 0;
}
    
