#include <iostream>
using std::cout;

int main()
{
  double a = 9.0;
  cout << (1.0*a/a == 1.0) << " " << (1.0/a*a == 1.0) << std::endl;
}