#include<iostream>#include<cmath>int a,b;int nrdiv(int n){ int s=0; for(int i=1;i*i<n;++i) if(n%i==0) { if(i%2==0) s++; if((n/i)%2==0) s++; } if(float(sqrt(n))==int(sqrt(n)) && int(sqrt(n))%2==0) s++; return s;}int main(){ std::cin>>a>>b; int nrd=nrdiv(a); int minn=a; int maxx=b; for(int i=a+1;i<=b;++i) { int y; y=nrdiv(i); if(y>nrd) { nrd=y; minn=i; maxx=i; } else if(y==nrd) { maxx=i; } } std::cout<<nrd<<' '<<minn<<' '<<maxx;}