#include using namespace std; int main(){ int n,k; cin>>n>>k; if(n%2==0){ cout<0; --i){ if(n%i==0){ x=i; break; } } cout<