text: #include <iostream>//cin/cout/wcin/wcout/left/right/internal/dec/hex/oct/fixed/scientific
  
  using namespace std;
  
  int main(void) {
  	int n;
  	cin >> n;
  	cout << n << endl;
  	for (int i = 0; i < n; ++i)
  	{
  		cout << 1 << endl;
  	}
  	return 0;
  }
  