fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3. bool hasSixDays(unsigned int p)
  4. {
  5. int count = 0;
  6. unsigned int d = p;
  7. for(char r = 0; r!=30;r++)
  8. {
  9. count+=(d&1);
  10. d = d>>1;
  11. }
  12. return count==6;
  13. }
  14.  
  15. void writeDays(unsigned int p)
  16. {
  17. unsigned int d = p;
  18. char wr;
  19. for(char r = 0; r!=30;r++)
  20. {
  21. wr = d&1?'1':'0';
  22. cout<<wr;
  23. d = d>>1;
  24. }
  25. cout<<endl;
  26. }
  27. int main()
  28. {
  29. unsigned int k;
  30. for(k = 0; k!=1073741824;k++)
  31. {
  32. if(hasSixDays(k))
  33. writeDays(k);
  34. }
  35. return 0;
  36. }
Runtime error #stdin #stdout 0s 2852KB
stdin
Standard input is empty
stdout
111111000000000000000000000000
111110100000000000000000000000
111101100000000000000000000000
111011100000000000000000000000
110111100000000000000000000000
101111100000000000000000000000
011111100000000000000000000000
111110010000000000000000000000
111101010000000000000000000000
111011010000000000000000000000
110111010000000000000000000000
101111010000000000000000000000
011111010000000000000000000000
111100110000000000000000000000
111010110000000000000000000000
110110110000000000000000000000
101110110000000000000000000000
011110110000000000000000000000
111001110000000000000000000000
110101110000000000000000000000
101101110000000000000000000000
011101110000000000000000000000
110011110000000000000000000000
101011110000000000000000000000
011011110000000000000000000000
100111110000000000000000000000
010111110000000000000000000000
001111110000000000000000000000
111110001000000000000000000000
111101001000000000000000000000
111011001000000000000000000000
110111001000000000000000000000
101111001000000000000000000000
011111001000000000000000000000
111100101000000000000000000000
111010101000000000000000000000
110110101000000000000000000000
101110101000000000000000000000
011110101000000000000000000000
111001101000000000000000000000
110101101000000000000000000000
101101101000000000000000000000
011101101000000000000000000000
110011101000000000000000000000
101011101000000000000000000000
011011101000000000000000000000
100111101000000000000000000000
010111101000000000000000000000
001111101000000000000000000000
111100011000000000000000000000
111010011000000000000000000000
110110011000000000000000000000
101110011000000000000000000000
011110011000000000000000000000
111001011000000000000000000000
110101011000000000000000000000
101101011000000000000000000000
011101011000000000000000000000
110011011000000000000000000000
101011011000000000000000000000
011011011000000000000000000000
100111011000000000000000000000
010111011000000000000000000000
001111011000000000000000000000
111000111000000000000000000000
110100111000000000000000000000
101100111000000000000000000000
011100111000000000000000000000
110010111000000000000000000000
101010111000000000000000000000
011010111000000000000000000000
100110111000000000000000000000
010110111000000000000000000000
001110111000000000000000000000
110001111000000000000000000000
101001111000000000000000000000
011001111000000000000000000000
100101111000000000000000000000
010101111000000000000000000000
001101111000000000000000000000
100011111000000000000000000000
010011111000000000000000000000
001011111000000000000000000000
000111111000000000000000000000
111110000100000000000000000000
111101000100000000000000000000
111011000100000000000000000000
110111000100000000000000000000
101111000100000000000000000000
011111000100000000000000000000
111100100100000000000000000000
111010100100000000000000000000
110110100100000000000000000000
101110100100000000000000000000
011110100100000000000000000000
111001100100000000000000000000
110101100100000000000000000000
101101100100000000000000000000
011101100100000000000000000000
110011100100000000000000000000
101011100100000000000000000000
011011100100000000000000000000
100111100100000000000000000000
010111100100000000000000000000
001111100100000000000000000000
111100010100000000000000000000
111010010100000000000000000000
110110010100000000000000000000
101110010100000000000000000000
011110010100000000000000000000
111001010100000000000000000000
110101010100000000000000000000
101101010100000000000000000000
011101010100000000000000000000
110011010100000000000000000000
101011010100000000000000000000
011011010100000000000000000000
100111010100000000000000000000
010111010100000000000000000000
001111010100000000000000000000
111000110100000000000000000000
110100110100000000000000000000
101100110100000000000000000000
011100110100000000000000000000
110010110100000000000000000000
101010110100000000000000000000
011010110100000000000000000000
100110110100000000000000000000
010110110100000000000000000000
001110110100000000000000000000
110001110100000000000000000000
101001110100000000000000000000
011001110100000000000000000000
100101110100000000000000000000
010101110100000000000000000000
001101110100000000000000000000
100011110100000000000000000000
010011110100000000000000000000
001011110100000000000000000000
000111110100000000000000000000
111100001100000000000000000000
111010001100000000000000000000
110110001100000000000000000000
101110001100000000000000000000
011110001100000000000000000000
111001001100000000000000000000
110101001100000000000000000000
101101001100000000000000000000
011101001100000000000000000000
110011001100000000000000000000
101011001100000000000000000000
011011001100000000000000000000
100111001100000000000000000000
010111001100000000000000000000
001111001100000000000000000000
111000101100000000000000000000
110100101100000000000000000000
101100101100000000000000000000
011100101100000000000000000000
110010101100000000000000000000
101010101100000000000000000000
011010101100000000000000000000
100110101100000000000000000000
010110101100000000000000000000
001110101100000000000000000000
110001101100000000000000000000
101001101100000000000000000000
011001101100000000000000000000
100101101100000000000000000000
010101101100000000000000000000
001101101100000000000000000000
100011101100000000000000000000
010011101100000000000000000000
001011101100000000000000000000
000111101100000000000000000000
111000011100000000000000000000
110100011100000000000000000000
101100011100000000000000000000
011100011100000000000000000000
110010011100000000000000000000
101010011100000000000000000000
011010011100000000000000000000
100110011100000000000000000000
010110011100000000000000000000
001110011100000000000000000000
110001011100000000000000000000
101001011100000000000000000000
011001011100000000000000000000
100101011100000000000000000000
010101011100000000000000000000
001101011100000000000000000000
100011011100000000000000000000
010011011100000000000000000000
001011011100000000000000000000
000111011100000000000000000000
110000111100000000000000000000
101000111100000000000000000000
011000111100000000000000000000
100100111100000000000000000000
010100111100000000000000000000
001100111100000000000000000000
100010111100000000000000000000
010010111100000000000000000000
001010111100000000000000000000
000110111100000000000000000000
100001111100000000000000000000
010001111100000000000000000000
001001111100000000000000000000
000101111100000000000000000000
000011111100000000000000000000
111110000010000000000000000000
111101000010000000000000000000
111011000010000000000000000000
110111000010000000000000000000
101111000010000000000000000000
011111000010000000000000000000
111100100010000000000000000000
111010100010000000000000000000
110110100010000000000000000000
101110100010000000000000000000
011110100010000000000000000000
111001100010000000000000000000
110101100010000000000000000000
101101100010000000000000000000
011101100010000000000000000000
110011100010000000000000000000
101011100010000000000000000000
011011100010000000000000000000
100111100010000000000000000000
010111100010000000000000000000
001111100010000000000000000000
111100010010000000000000000000
111010010010000000000000000000
110110010010000000000000000000
101110010010000000000000000000
011110010010000000000000000000
111001010010000000000000000000
110101010010000000000000000000
101101010010000000000000000000
011101010010000000000000000000
110011010010000000000000000000
101011010010000000000000000000
011011010010000000000000000000
100111010010000000000000000000
010111010010000000000000000000
001111010010000000000000000000
111000110010000000000000000000
110100110010000000000000000000
101100110010000000000000000000
011100110010000000000000000000
110010110010000000000000000000
101010110010000000000000000000
011010110010000000000000000000
100110110010000000000000000000
010110110010000000000000000000
001110110010000000000000000000
110001110010000000000000000000
101001110010000000000000000000
011001110010000000000000000000
100101110010000000000000000000
010101110010000000000000000000
001101110010000000000000000000
100011110010000000000000000000
010011110010000000000000000000
001011110010000000000000000000
000111110010000000000000000000
111100001010000000000000000000
111010001010000000000000000000
110110001010000000000000000000
101110001010000000000000000000
011110001010000000000000000000
111001001010000000000000000000
110101001010000000000000000000
101101001010000000000000000000
011101001010000000000000000000
110011001010000000000000000000
101011001010000000000000000000
011011001010000000000000000000
100111001010000000000000000000
010111001010000000000000000000
001111001010000000000000000000
111000101010000000000000000000
110100101010000000000000000000
101100101010000000000000000000
011100101010000000000000000000
110010101010000000000000000000
101010101010000000000000000000
011010101010000000000000000000
100110101010000000000000000000
010110101010000000000000000000
001110101010000000000000000000
110001101010000000000000000000
101001101010000000000000000000
011001101010000000000000000000
100101101010000000000000000000
010101101010000000000000000000
001101101010000000000000000000
100011101010000000000000000000
010011101010000000000000000000
001011101010000000000000000000
000111101010000000000000000000
111000011010000000000000000000
110100011010000000000000000000
101100011010000000000000000000
011100011010000000000000000000
110010011010000000000000000000
101010011010000000000000000000
011010011010000000000000000000
100110011010000000000000000000
010110011010000000000000000000
001110011010000000000000000000
110001011010000000000000000000
101001011010000000000000000000
011001011010000000000000000000
100101011010000000000000000000
010101011010000000000000000000
001101011010000000000000000000
100011011010000000000000000000
010011011010000000000000000000
001011011010000000000000000000
000111011010000000000000000000
110000111010000000000000000000
101000111010000000000000000000
011000111010000000000000000000
100100111010000000000000000000
010100111010000000000000000000
001100111010000000000000000000
100010111010000000000000000000
010010111010000000000000000000
001010111010000000000000000000
000110111010000000000000000000
100001111010000000000000000000
010001111010000000000000000000
001001111010000000000000000000
000101111010000000000000000000
000011111010000000000000000000
111100000110000000000000000000
111010000110000000000000000000
110110000110000000000000000000
101110000110000000000000000000
011110000110000000000000000000
111001000110000000000000000000
110101000110000000000000000000
101101000110000000000000000000
011101000110000000000000000000
110011000110000000000000000000
101011000110000000000000000000
011011000110000000000000000000
100111000110000000000000000000
010111000110000000000000000000
001111000110000000000000000000
111000100110000000000000000000
110100100110000000000000000000
101100100110000000000000000000
011100100110000000000000000000
110010100110000000000000000000
101010100110000000000000000000
011010100110000000000000000000
100110100110000000000000000000
010110100110000000000000000000
001110100110000000000000000000
110001100110000000000000000000
101001100110000000000000000000
011001100110000000000000000000
100101100110000000000000000000
010101100110000000000000000000
001101100110000000000000000000
100011100110000000000000000000
010011100110000000000000000000
001011100110000000000000000000
000111100110000000000000000000
111000010110000000000000000000
110100010110000000000000000000
101100010110000000000000000000
011100010110000000000000000000
110010010110000000000000000000
101010010110000000000000000000
011010010110000000000000000000
100110010110000000000000000000
010110010110000000000000000000
001110010110000000000000000000
110001010110000000000000000000
101001010110000000000000000000
011001010110000000000000000000
100101010110000000000000000000
010101010110000000000000000000
001101010110000000000000000000
100011010110000000000000000000
010011010110000000000000000000
001011010110000000000000000000
000111010110000000000000000000
110000110110000000000000000000
101000110110000000000000000000
011000110110000000000000000000
100100110110000000000000000000
010100110110000000000000000000
001100110110000000000000000000
100010110110000000000000000000
010010110110000000000000000000
001010110110000000000000000000
000110110110000000000000000000
100001110110000000000000000000
010001110110000000000000000000
001001110110000000000000000000
000101110110000000000000000000
000011110110000000000000000000
111000001110000000000000000000
110100001110000000000000000000
101100001110000000000000000000
011100001110000000000000000000
110010001110000000000000000000
101010001110000000000000000000
011010001110000000000000000000
100110001110000000000000000000
010110001110000000000000000000
001110001110000000000000000000
110001001110000000000000000000
101001001110000000000000000000
011001001110000000000000000000
100101001110000000000000000000
010101001110000000000000000000
001101001110000000000000000000
100011001110000000000000000000
010011001110000000000000000000
001011001110000000000000000000
000111001110000000000000000000
110000101110000000000000000000
101000101110000000000000000000
011000101110000000000000000000
100100101110000000000000000000
010100101110000000000000000000
001100101110000000000000000000
100010101110000000000000000000
010010101110000000000000000000
001010101110000000000000000000
000110101110000000000000000000
100001101110000000000000000000
010001101110000000000000000000
001001101110000000000000000000
000101101110000000000000000000
000011101110000000000000000000
110000011110000000000000000000
101000011110000000000000000000
011000011110000000000000000000
100100011110000000000000000000
010100011110000000000000000000
001100011110000000000000000000
100010011110000000000000000000
010010011110000000000000000000
001010011110000000000000000000
000110011110000000000000000000
100001011110000000000000000000
010001011110000000000000000000
001001011110000000000000000000
000101011110000000000000000000
000011011110000000000000000000
100000111110000000000000000000
010000111110000000000000000000
001000111110000000000000000000
000100111110000000000000000000
000010111110000000000000000000
000001111110000000000000000000
111110000001000000000000000000
111101000001000000000000000000
111011000001000000000000000000
110111000001000000000000000000
101111000001000000000000000000
011111000001000000000000000000
111100100001000000000000000000
111010100001000000000000000000
110110100001000000000000000000
101110100001000000000000000000
011110100001000000000000000000
111001100001000000000000000000
110101100001000000000000000000
101101100001000000000000000000
011101100001000000000000000000
110011100001000000000000000000
101011100001000000000000000000
011011100001000000000000000000
100111100001000000000000000000
010111100001000000000000000000
001111100001000000000000000000
111100010001000000000000000000
111010010001000000000000000000
110110010001000000000000000000
101110010001000000000000000000
011110010001000000000000000000
111001010001000000000000000000
110101010001000000000000000000
101101010001000000000000000000
011101010001000000000000000000
110011010001000000000000000000
101011010001000000000000000000
011011010001000000000000000000
100111010001000000000000000000
010111010001000000000000000000
001111010001000000000000000000
111000110001000000000000000000
110100110001000000000000000000
101100110001000000000000000000
011100110001000000000000000000
110010110001000000000000000000
101010110001000000000000000000
011010110001000000000000000000
100110110001000000000000000000
010110110001000000000000000000
001110110001000000000000000000
110001110001000000000000000000
101001110001000000000000000000
011001110001000000000000000000
100101110001000000000000000000
010101110001000000000000000000
001101110001000000000000000000
100011110001000000000000000000
010011110001000000000000000000
001011110001000000000000000000
000111110001000000000000000000
111100001001000000000000000000
111010001001000000000000000000
110110001001000000000000000000
101110001001000000000000000000
011110001001000000000000000000
111001001001000000000000000000
110101001001000000000000000000
101101001001000000000000000000
011101001001000000000000000000
110011001001000000000000000000
101011001001000000000000000000
011011001001000000000000000000
100111001001000000000000000000
010111001001000000000000000000
001111001001000000000000000000
111000101001000000000000000000
110100101001000000000000000000
101100101001000000000000000000
011100101001000000000000000000
110010101001000000000000000000
101010101001000000000000000000
011010101001000000000000000000
100110101001000000000000000000
010110101001000000000000000000
001110101001000000000000000000
110001101001000000000000000000
101001101001000000000000000000
011001101001000000000000000000
100101101001000000000000000000
010101101001000000000000000000
001101101001000000000000000000
100011101001000000000000000000
010011101001000000000000000000
001011101001000000000000000000
000111101001000000000000000000
111000011001000000000000000000
110100011001000000000000000000
101100011001000000000000000000
011100011001000000000000000000
110010011001000000000000000000
101010011001000000000000000000
011010011001000000000000000000
100110011001000000000000000000
010110011001000000000000000000
001110011001000000000000000000
110001011001000000000000000000
101001011001000000000000000000
011001011001000000000000000000
100101011001000000000000000000
010101011001000000000000000000
001101011001000000000000000000
100011011001000000000000000000
010011011001000000000000000000
001011011001000000000000000000
000111011001000000000000000000
110000111001000000000000000000
101000111001000000000000000000
011000111001000000000000000000
100100111001000000000000000000
010100111001000000000000000000
001100111001000000000000000000
100010111001000000000000000000
010010111001000000000000000000
001010111001000000000000000000
000110111001000000000000000000
100001111001000000000000000000
010001111001000000000000000000
001001111001000000000000000000
000101111001000000000000000000
000011111001000000000000000000
111100000101000000000000000000
111010000101000000000000000000
110110000101000000000000000000
101110000101000000000000000000
011110000101000000000000000000
111001000101000000000000000000
110101000101000000000000000000
101101000101000000000000000000
011101000101000000000000000000
110011000101000000000000000000
101011000101000000000000000000
011011000101000000000000000000
100111000101000000000000000000
010111000101000000000000000000
001111000101000000000000000000
111000100101000000000000000000
110100100101000000000000000000
101100100101000000000000000000
011100100101000000000000000000
110010100101000000000000000000
101010100101000000000000000000
011010100101000000000000000000
100110100101000000000000000000
010110100101000000000000000000
001110100101000000000000000000
110001100101000000000000000000
101001100101000000000000000000
011001100101000000000000000000
100101100101000000000000000000
010101100101000000000000000000
001101100101000000000000000000
100011100101000000000000000000
010011100101000000000000000000
001011100101000000000000000000
000111100101000000000000000000
111000010101000000000000000000
110100010101000000000000000000
101100010101000000000000000000
011100010101000000000000000000
110010010101000000000000000000
101010010101000000000000000000
011010010101000000000000000000
100110010101000000000000000000
010110010101000000000000000000
001110010101000000000000000000
110001010101000000000000000000
101001010101000000000000000000
011001010101000000000000000000
100101010101000000000000000000
010101010101000000000000000000
001101010101000000000000000000
100011010101000000000000000000
010011010101000000000000000000
001011010101000000000000000000
000111010101000000000000000000
110000110101000000000000000000
101000110101000000000000000000
011000110101000000000000000000
100100110101000000000000000000
010100110101000000000000000000
001100110101000000000000000000
100010110101000000000000000000
010010110101000000000000000000
001010110101000000000000000000
000110110101000000000000000000
100001110101000000000000000000
010001110101000000000000000000
001001110101000000000000000000
000101110101000000000000000000
000011110101000000000000000000
111000001101000000000000000000
110100001101000000000000000000
101100001101000000000000000000
011100001101000000000000000000
110010001101000000000000000000
101010001101000000000000000000
011010001101000000000000000000
100110001101000000000000000000
010110001101000000000000000000
001110001101000000000000000000
110001001101000000000000000000
101001001101000000000000000000
011001001101000000000000000000
100101001101000000000000000000
010101001101000000000000000000
001101001101000000000000000000
100011001101000000000000000000
010011001101000000000000000000
001011001101000000000000000000
000111001101000000000000000000
110000101101000000000000000000
101000101101000000000000000000
011000101101000000000000000000
100100101101000000000000000000
010100101101000000000000000000
001100101101000000000000000000
100010101101000000000000000000
010010101101000000000000000000
001010101101000000000000000000
000110101101000000000000000000
100001101101000000000000000000
010001101101000000000000000000
001001101101000000000000000000
000101101101000000000000000000
000011101101000000000000000000
110000011101000000000000000000
101000011101000000000000000000
011000011101000000000000000000
100100011101000000000000000000
010100011101000000000000000000
001100011101000000000000000000
100010011101000000000000000000
010010011101000000000000000000
001010011101000000000000000000
000110011101000000000000000000
100001011101000000000000000000
010001011101000000000000000000
001001011101000000000000000000
000101011101000000000000000000
000011011101000000000000000000
100000111101000000000000000000
010000111101000000000000000000
001000111101000000000000000000
000100111101000000000000000000
000010111101000000000000000000
000001111101000000000000000000
111100000011000000000000000000
111010000011000000000000000000
110110000011000000000000000000
101110000011000000000000000000
011110000011000000000000000000
111001000011000000000000000000
110101000011000000000000000000
101101000011000000000000000000
011101000011000000000000000000
110011000011000000000000000000
101011000011000000000000000000
011011000011000000000000000000
100111000011000000000000000000
010111000011000000000000000000
001111000011000000000000000000
111000100011000000000000000000
110100100011000000000000000000
101100100011000000000000000000
011100100011000000000000000000
110010100011000000000000000000
101010100011000000000000000000
011010100011000000000000000000
100110100011000000000000000000
010110100011000000000000000000
001110100011000000000000000000
110001100011000000000000000000
101001100011000000000000000000
011001100011000000000000000000
100101100011000000000000000000
010101100011000000000000000000
001101100011000000000000000000
100011100011000000000000000000
010011100011000000000000000000
001011100011000000000000000000
000111100011000000000000000000
111000010011000000000000000000
110100010011000000000000000000
101100010011000000000000000000
011100010011000000000000000000
110010010011000000000000000000
101010010011000000000000000000
011010010011000000000000000000
100110010011000000000000000000
010110010011000000000000000000
001110010011000000000000000000
110001010011000000000000000000
101001010011000000000000000000
011001010011000000000000000000
100101010011000000000000000000
010101010011000000000000000000
001101010011000000000000000000
100011010011000000000000000000
010011010011000000000000000000
001011010011000000000000000000
000111010011000000000000000000
110000110011000000000000000000
101000110011000000000000000000
011000110011000000000000000000
100100110011000000000000000000
010100110011000000000000000000
001100110011000000000000000000
100010110011000000000000000000
010010110011000000000000000000
001010110011000000000000000000
000110110011000000000000000000
100001110011000000000000000000
010001110011000000000000000000
001001110011000000000000000000
000101110011000000000000000000
000011110011000000000000000000
111000001011000000000000000000
110100001011000000000000000000
101100001011000000000000000000
011100001011000000000000000000
110010001011000000000000000000
101010001011000000000000000000
011010001011000000000000000000
100110001011000000000000000000
010110001011000000000000000000
001110001011000000000000000000
110001001011000000000000000000
101001001011000000000000000000
011001001011000000000000000000
100101001011000000000000000000
010101001011000000000000000000
001101001011000000000000000000
100011001011000000000000000000
010011001011000000000000000000
001011001011000000000000000000
000111001011000000000000000000
110000101011000000000000000000
101000101011000000000000000000
011000101011000000000000000000
100100101011000000000000000000
010100101011000000000000000000
001100101011000000000000000000
100010101011000000000000000000
010010101011000000000000000000
001010101011000000000000000000
000110101011000000000000000000
100001101011000000000000000000
010001101011000000000000000000
001001101011000000000000000000
000101101011000000000000000000
000011101011000000000000000000
110000011011000000000000000000
101000011011000000000000000000
011000011011000000000000000000
100100011011000000000000000000
010100011011000000000000000000
001100011011000000000000000000
100010011011000000000000000000
010010011011000000000000000000
001010011011000000000000000000
000110011011000000000000000000
100001011011000000000000000000
010001011011000000000000000000
001001011011000000000000000000
000101011011000000000000000000
000011011011000000000000000000
100000111011000000000000000000
010000111011000000000000000000
001000111011000000000000000000
000100111011000000000000000000
000010111011000000000000000000
000001111011000000000000000000
111000000111000000000000000000
110100000111000000000000000000
101100000111000000000000000000
011100000111000000000000000000
110010000111000000000000000000
101010000111000000000000000000
011010000111000000000000000000
100110000111000000000000000000
010110000111000000000000000000
001110000111000000000000000000
110001000111000000000000000000
101001000111000000000000000000
011001000111000000000000000000
100101000111000000000000000000
010101000111000000000000000000
001101000111000000000000000000
100011000111000000000000000000
010011000111000000000000000000
001011000111000000000000000000
000111000111000000000000000000
110000100111000000000000000000
101000100111000000000000000000
011000100111000000000000000000
100100100111000000000000000000
010100100111000000000000000000
001100100111000000000000000000
100010100111000000000000000000
010010100111000000000000000000
001010100111000000000000000000
000110100111000000000000000000
100001100111000000000000000000
010001100111000000000000000000
001001100111000000000000000000
000101100111000000000000000000
000011100111000000000000000000
110000010111000000000000000000
101000010111000000000000000000
011000010111000000000000000000
100100010111000000000000000000
010100010111000000000000000000
001100010111000000000000000000
100010010111000000000000000000
010010010111000000000000000000
001010010111000000000000000000
000110010111000000000000000000
100001010111000000000000000000
010001010111000000000000000000
001001010111000000000000000000
000101010111000000000000000000
000011010111000000000000000000
100000110111000000000000000000
010000110111000000000000000000
001000110111000000000000000000
000100110111000000000000000000
000010110111000000000000000000
000001110111000000000000000000
110000001111000000000000000000
101000001111000000000000000000
011000001111000000000000000000
100100001111000000000000000000
010100001111000000000000000000
001100001111000000000000000000
100010001111000000000000000000
010010001111000000000000000000
001010001111000000000000000000
000110001111000000000000000000
100001001111000000000000000000
010001001111000000000000000000
001001001111000000000000000000
000101001111000000000000000000
000011001111000000000000000000
100000101111000000000000000000
010000101111000000000000000000
001000101111000000000000000000
000100101111000000000000000000
000010101111000000000000000000
000001101111000000000000000000
100000011111000000000000000000
010000011111000000000000000000
001000011111000000000000000000
000100011111000000000000000000
000010011111000000000000000000
000001011111000000000000000000
000000111111000000000000000000
111110000000100000000000000000
111101000000100000000000000000
111011000000100000000000000000
110111000000100000000000000000
101111000000100000000000000000
011111000000100000000000000000
111100100000100000000000000000
111010100000100000000000000000
110110100000100000000000000000
101110100000100000000000000000
011110100000100000000000000000
111001100000100000000000000000
110101100000100000000000000000
101101100000100000000000000000
011101100000100000000000000000
110011100000100000000000000000
101011100000100000000000000000
011011100000100000000000000000
100111100000100000000000000000
010111100000100000000000000000
001111100000100000000000000000
111100010000100000000000000000
111010010000100000000000000000
110110010000100000000000000000
101110010000100000000000000000
011110010000100000000000000000
111001010000100000000000000000
110101010000100000000000000000
101101010000100000000000000000
011101010000100000000000000000
110011010000100000000000000000
101011010000100000000000000000
011011010000100000000000000000
100111010000100000000000000000
010111010000100000000000000000
001111010000100000000000000000
111000110000100000000000000000
110100110000100000000000000000
101100110000100000000000000000
011100110000100000000000000000
110010110000100000000000000000
101010110000100000000000000000
011010110000100000000000000000
100110110000100000000000000000
010110110000100000000000000000
001110110000100000000000000000
110001110000100000000000000000
101001110000100000000000000000
011001110000100000000000000000
100101110000100000000000000000
010101110000100000000000000000
001101110000100000000000000000
100011110000100000000000000000
010011110000100000000000000000
001011110000100000000000000000
000111110000100000000000000000
111100001000100000000000000000
111010001000100000000000000000
110110001000100000000000000000
101110001000100000000000000000
011110001000100000000000000000
111001001000100000000000000000
110101001000100000000000000000
101101001000100000000000000000
011101001000100000000000000000
110011001000100000000000000000
101011001000100000000000000000
011011001000100000000000000000
100111001000100000000000000000
010111001000100000000000000000
001111001000100000000000000000
111000101000100000000000000000
110100101000100000000000000000
101100101000100000000000000000
011100101000100000000000000000
110010101000100000000000000000
101010101000100000000000000000
011010101000100000000000000000
100110101000100000000000000000
010110101000100000000000000000
001110101000100000000000000000
110001101000100000000000000000
101001101000100000000000000000
011001101000100000000000000000
100101101000100000000000000000
010101101000100000000000000000
001101101000100000000000000000
100011101000100000000000000000
010011101000100000000000000000
001011101000100000000000000000
000111101000100000000000000000
111000011000100000000000000000
110100011000100000000000000000
101100011000100000000000000000
011100011000100000000000000000
110010011000100000000000000000
101010011000100000000000000000
011010011000100000000000000000
100110011000100000000000000000
010110011000100000000000000000
001110011000100000000000000000
110001011000100000000000000000
101001011000100000000000000000
011001011000100000000000000000
100101011000100000000000000000
010101011000100000000000000000
001101011000100000000000000000
100011011000100000000000000000
010011011000100000000000000000
001011011000100000000000000000
000111011000100000000000000000
110000111000100000000000000000
101000111000100000000000000000
011000111000100000000000000000
100100111000100000000000000000
010100111000100000000000000000
001100111000100000000000000000
100010111000100000000000000000
010010111000100000000000000000
001010111000100000000000000000
000110111000100000000000000000
100001111000100000000000000000
010001111000100000000000000000
001001111000100000000000000000
000101111000100000000000000000
000011111000100000000000000000
111100000100100000000000000000
111010000100100000000000000000
110110000100100000000000000000
101110000100100000000000000000
011110000100100000000000000000
111001000100100000000000000000
110101000100100000000000000000
101101000100100000000000000000
011101000100100000000000000000
110011000100100000000000000000
101011000100100000000000000000
011011000100100000000000000000
100111000100100000000000000000
010111000100100000000000000000
001111000100100000000000000000
111000100100100000000000000000
110100100100100000000000000000
101100100100100000000000000000
011100100100100000000000000000
110010100100100000000000000000
101010100100100000000000000000
011010100100100000000000000000
100110100100100000000000000000
010110100100100000000000000000
001110100100100000000000000000
110001100100100000000000000000
101001100100100000000000000000
011001100100100000000000000000
100101100100100000000000000000
010101100100100000000000000000
001101100100100000000000000000
100011100100100000000000000000
010011100100100000000000000000
001011100100100000000000000000
000111100100100000000000000000
111000010100100000000000000000
110100010100100000000000000000
101100010100100000000000000000
011100010100100000000000000000
110010010100100000000000000000
101010010100100000000000000000
011010010100100000000000000000
100110010100100000000000000000
010110010100100000000000000000
001110010100100000000000000000
110001010100100000000000000000
101001010100100000000000000000
011001010100100000000000000000
100101010100100000000000000000
010101010100100000000000000000
001101010100100000000000000000
100011010100100000000000000000
010011010100100000000000000000
001011010100100000000000000000
000111010100100000000000000000
110000110100100000000000000000
101000110100100000000000000000
011000110100100000000000000000
100100110100100000000000000000
010100110100100000000000000000
001100110100100000000000000000
100010110100100000000000000000
010010110100100000000000000000
001010110100100000000000000000
000110110100100000000000000000
100001110100100000000000000000
010001110100100000000000000000
001001110100100000000000000000
000101110100100000000000000000
000011110100100000000000000000
111000001100100000000000000000
110100001100100000000000000000
101100001100100000000000000000
011100001100100000000000000000
110010001100100000000000000000
101010001100100000000000000000
011010001100100000000000000000
100110001100100000000000000000
010110001100100000000000000000
001110001100100000000000000000
110001001100100000000000000000
101001001100100000000000000000
011001001100100000000000000000
100101001100100000000000000000
010101001100100000000000000000
001101001100100000000000000000
100011001100100000000000000000
010011001100100000000000000000
001011001100100000000000000000
000111001100100000000000000000
110000101100100000000000000000
101000101100100000000000000000
011000101100100000000000000000
100100101100100000000000000000
010100101100100000000000000000
001100101100100000000000000000
100010101100100000000000000000
010010101100100000000000000000
001010101100100000000000000000
000110101100100000000000000000
100001101100100000000000000000
010001101100100000000000000000
001001101100100000000000000000
000101101100100000000000000000
000011101100100000000000000000
110000011100100000000000000000
101000011100100000000000000000
011000011100100000000000000000
100100011100100000000000000000
010100011100100000000000000000
001100011100100000000000000000
100010011100100000000000000000
010010011100100000000000000000
001010011100100000000000000000
000110011100100000000000000000
100001011100100000000000000000
010001011100100000000000000000
001001011100100000000000000000
000101011100100000000000000000
000011011100100000000000000000
100000111100100000000000000000
010000111100100000000000000000
001000111100100000000000000000
000100111100100000000000000000
000010111100100000000000000000
000001111100100000000000000000
111100000010100000000000000000
111010000010100000000000000000
110110000010100000000000000000
101110000010100000000000000000
011110000010100000000000000000
111001000010100000000000000000
110101000010100000000000000000
101101000010100000000000000000
011101000010100000000000000000
110011000010100000000000000000
101011000010100000000000000000
011011000010100000000000000000
100111000010100000000000000000
010111000010100000000000000000
001111000010100000000000000000
111000100010100000000000000000
110100100010100000000000000000
101100100010100000000000000000
011100100010100000000000000000
110010100010100000000000000000
101010100010100000000000000000
011010100010100000000000000000
100110100010100000000000000000
010110100010100000000000000000
001110100010100000000000000000
110001100010100000000000000000
101001100010100000000000000000
011001100010100000000000000000
100101100010100000000000000000
010101100010100000000000000000
001101100010100000000000000000
100011100010100000000000000000
010011100010100000000000000000
001011100010100000000000000000
000111100010100000000000000000
111000010010100000000000000000
110100010010100000000000000000
101100010010100000000000000000
011100010010100000000000000000
110010010010100000000000000000
101010010010100000000000000000
011010010010100000000000000000
100110010010100000000000000000
010110010010100000000000000000
001110010010100000000000000000
110001010010100000000000000000
101001010010100000000000000000
011001010010100000000000000000
100101010010100000000000000000
010101010010100000000000000000
001101010010100000000000000000
100011010010100000000000000000
010011010010100000000000000000
001011010010100000000000000000
000111010010100000000000000000
110000110010100000000000000000
101000110010100000000000000000
011000110010100000000000000000
100100110010100000000000000000
010100110010100000000000000000
001100110010100000000000000000
100010110010100000000000000000
010010110010100000000000000000
001010110010100000000000000000
000110110010100000000000000000
100001110010100000000000000000
010001110010100000000000000000
001001110010100000000000000000
000101110010100000000000000000
000011110010100000000000000000
111000001010100000000000000000
110100001010100000000000000000
101100001010100000000000000000
011100001010100000000000000000
110010001010100000000000000000
101010001010100000000000000000
011010001010100000000000000000
100110001010100000000000000000
010110001010100000000000000000
001110001010100000000000000000
110001001010100000000000000000
101001001010100000000000000000
011001001010100000000000000000
100101001010100000000000000000
010101001010100000000000000000
001101001010100000000000000000
100011001010100000000000000000
010011001010100000000000000000
001011001010100000000000000000
000111001010100000000000000000
110000101010100000000000000000
101000101010100000000000000000
011000101010100000000000000000
100100101010100000000000000000
010100101010100000000000000000
001100101010100000000000000000
100010101010100000000000000000
010010101010100000000000000000
001010101010100000000000000000
000110101010100000000000000000
100001101010100000000000000000
010001101010100000000000000000
001001101010100000000000000000
000101101010100000000000000000
000011101010100000000000000000
110000011010100000000000000000
101000011010100000000000000000
011000011010100000000000000000
100100011010100000000000000000
010100011010100000000000000000
001100011010100000000000000000
100010011010100000000000000000
010010011010100000000000000000
001010011010100000000000000000
000110011010100000000000000000
100001011010100000000000000000
010001011010100000000000000000
001001011010100000000000000000
000101011010100000000000000000
000011011010100000000000000000
100000111010100000000000000000
010000111010100000000000000000
001000111010100000000000000000
000100111010100000000000000000
000010111010100000000000000000
000001111010100000000000000000
111000000110100000000000000000
110100000110100000000000000000
101100000110100000000000000000
011100000110100000000000000000
110010000110100000000000000000
101010000110100000000000000000
011010000110100000000000000000
100110000110100000000000000000
010110000110100000000000000000
001110000110100000000000000000
110001000110100000000000000000
101001000110100000000000000000
011001000110100000000000000000
100101000110100000000000000000
010101000110100000000000000000
001101000110100000000000000000
100011000110100000000000000000
010011000110100000000000000000
001011000110100000000000000000
000111000110100000000000000000
110000100110100000000000000000
101000100110100000000000000000
011000100110100000000000000000
100100100110100000000000000000
010100100110100000000000000000
001100100110100000000000000000
100010100110100000000000000000
010010100110100000000000000000
001010100110100000000000000000
000110100110100000000000000000
100001100110100000000000000000
010001100110100000000000000000
001001100110100000000000000000
000101100110100000000000000000
000011100110100000000000000000
110000010110100000000000000000
101000010110100000000000000000
011000010110100000000000000000
100100010110100000000000000000
010100010110100000000000000000
001100010110100000000000000000
100010010110100000000000000000
010010010110100000000000000000
001010010110100000000000000000
000110010110100000000000000000
100001010110100000000000000000
010001010110100000000000000000
001001010110100000000000000000
000101010110100000000000000000
000011010110100000000000000000
100000110110100000000000000000
010000110110100000000000000000
001000110110100000000000000000
000100110110100000000000000000
000010110110100000000000000000
000001110110100000000000000000
110000001110100000000000000000
101000001110100000000000000000
011000001110100000000000000000
100100001110100000000000000000
010100001110100000000000000000
001100001110100000000000000000
100010001110100000000000000000
010010001110100000000000000000
001010001110100000000000000000
000110001110100000000000000000
100001001110100000000000000000
010001001110100000000000000000
001001001110100000000000000000
000101001110100000000000000000
000011001110100000000000000000
100000101110100000000000000000
010000101110100000000000000000
001000101110100000000000000000
000100101110100000000000000000
000010101110100000000000000000
000001101110100000000000000000
100000011110100000000000000000
010000011110100000000000000000
001000011110100000000000000000
000100011110100000000000000000
000010011110100000000000000000
000001011110100000000000000000
000000111110100000000000000000
111100000001100000000000000000
111010000001100000000000000000
110110000001100000000000000000
101110000001100000000000000000
011110000001100000000000000000
111001000001100000000000000000
110101000001100000000000000000
101101000001100000000000000000
011101000001100000000000000000
110011000001100000000000000000
101011000001100000000000000000
011011000001100000000000000000
100111000001100000000000000000
010111000001100000000000000000
001111000001100000000000000000
111000100001100000000000000000
110100100001100000000000000000
101100100001100000000000000000
011100100001100000000000000000
110010100001100000000000000000
101010100001100000000000000000
011010100001100000000000000000
100110100001100000000000000000
010110100001100000000000000000
001110100001100000000000000000
110001100001100000000000000000
101001100001100000000000000000
011001100001100000000000000000
100101100001100000000000000000
010101100001100000000000000000
001101100001100000000000000000
100011100001100000000000000000
010011100001100000000000000000
001011100001100000000000000000
000111100001100000000000000000
111000010001100000000000000000
110100010001100000000000000000
101100010001100000000000000000
011100010001100000000000000000
110010010001100000000000000000
101010010001100000000000000000
011010010001100000000000000000
100110010001100000000000000000
010110010001100000000000000000
001110010001100000000000000000
110001010001100000000000000000
101001010001100000000000000000
011001010001100000000000000000
100101010001100000000000000000
010101010001100000000000000000
001101010001100000000000000000
100011010001100000000000000000
010011010001100000000000000000
001011010001100000000000000000
000111010001100000000000000000
110000110001100000000000000000
101000110001100000000000000000
011000110001100000000000000000
100100110001100000000000000000
010100110001100000000000000000
001100110001100000000000000000
100010110001100000000000000000
010010110001100000000000000000
001010110001100000000000000000
000110110001100000000000000000
100001110001100000000000000000
010001110001100000000000000000
001001110001100000000000000000
000101110001100000000000000000
000011110001100000000000000000
111000001001100000000000000000
110100001001100000000000000000
101100001001100000000000000000
011100001001100000000000000000
110010001001100000000000000000
101010001001100000000000000000
011010001001100000000000000000
100110001001100000000000000000
010110001001100000000000000000
001110001001100000000000000000
110001001001100000000000000000
101001001001100000000000000000
011001001001100000000000000000
100101001001100000000000000000
010101001001100000000000000000
001101001001100000000000000000
100011001001100000000000000000
010011001001100000000000000000
001011001001100000000000000000
000111001001100000000000000000
110000101001100000000000000000
101000101001100000000000000000
011000101001100000000000000000
100100101001100000000000000000
010100101001100000000000000000
001100101001100000000000000000
100010101001100000000000000000
010010101001100000000000000000
001010101001100000000000000000
000110101001100000000000000000
100001101001100000000000000000
010001101001100000000000000000
001001101001100000000000000000
000101101001100000000000000000
000011101001100000000000000000
110000011001100000000000000000
101000011001100000000000000000
011000011001100000000000000000
100100011001100000000000000000
010100011001100000000000000000
001100011001100000000000000000
100010011001100000000000000000
010010011001100000000000000000
001010011001100000000000000000
000110011001100000000000000000
100001011001100000000000000000
010001011001100000000000000000
001001011001100000000000000000
000101011001100000000000000000
000011011001100000000000000000
100000111001100000000000000000
010000111001100000000000000000
001000111001100000000000000000
000100111001100000000000000000
000010111001100000000000000000
000001111001100000000000000000
111000000101100000000000000000
110100000101100000000000000000
101100000101100000000000000000
011100000101100000000000000000
110010000101100000000000000000
101010000101100000000000000000
011010000101100000000000000000
100110000101100000000000000000
010110000101100000000000000000
001110000101100000000000000000
110001000101100000000000000000
101001000101100000000000000000
011001000101100000000000000000
100101000101100000000000000000
010101000101100000000000000000
001101000101100000000000000000
100011000101100000000000000000
010011000101100000000000000000
001011000101100000000000000000
000111000101100000000000000000
110000100101100000000000000000
101000100101100000000000000000
011000100101100000000000000000
100100100101100000000000000000
010100100101100000000000000000
001100100101100000000000000000
100010100101100000000000000000
010010100101100000000000000000
001010100101100000000000000000
000110100101100000000000000000
100001100101100000000000000000
010001100101100000000000000000
001001100101100000000000000000
000101100101100000000000000000
000011100101100000000000000000
110000010101100000000000000000
101000010101100000000000000000
011000010101100000000000000000
100100010101100000000000000000
010100010101100000000000000000
001100010101100000000000000000
100010010101100000000000000000
010010010101100000000000000000
001010010101100000000000000000
000110010101100000000000000000
100001010101100000000000000000
010001010101100000000000000000
001001010101100000000000000000
000101010101100000000000000000
000011010101100000000000000000
100000110101100000000000000000
010000110101100000000000000000
001000110101100000000000000000
000100110101100000000000000000
000010110101100000000000000000
000001110101100000000000000000
110000001101100000000000000000
101000001101100000000000000000
011000001101100000000000000000
100100001101100000000000000000
010100001101100000000000000000
001100001101100000000000000000
100010001101100000000000000000
010010001101100000000000000000
001010001101100000000000000000
000110001101100000000000000000
100001001101100000000000000000
010001001101100000000000000000
001001001101100000000000000000
000101001101100000000000000000
000011001101100000000000000000
100000101101100000000000000000
010000101101100000000000000000
001000101101100000000000000000
000100101101100000000000000000
000010101101100000000000000000
000001101101100000000000000000
100000011101100000000000000000
010000011101100000000000000000
001000011101100000000000000000
000100011101100000000000000000
000010011101100000000000000000
000001011101100000000000000000
000000111101100000000000000000
111000000011100000000000000000
110100000011100000000000000000
101100000011100000000000000000
011100000011100000000000000000
110010000011100000000000000000
101010000011100000000000000000
011010000011100000000000000000
100110000011100000000000000000
010110000011100000000000000000
001110000011100000000000000000
110001000011100000000000000000
101001000011100000000000000000
011001000011100000000000000000
100101000011100000000000000000
010101000011100000000000000000
001101000011100000000000000000
100011000011100000000000000000
010011000011100000000000000000
001011000011100000000000000000
000111000011100000000000000000
110000100011100000000000000000
101000100011100000000000000000
011000100011100000000000000000
100100100011100000000000000000
010100100011100000000000000000
001100100011100000000000000000
100010100011100000000000000000
010010100011100000000000000000
001010100011100000000000000000
000110100011100000000000000000
100001100011100000000000000000
010001100011100000000000000000
001001100011100000000000000000
000101100011100000000000000000
000011100011100000000000000000
110000010011100000000000000000
101000010011100000000000000000
011000010011100000000000000000
100100010011100000000000000000
010100010011100000000000000000
001100010011100000000000000000
100010010011100000000000000000
010010010011100000000000000000
001010010011100000000000000000
000110010011100000000000000000
100001010011100000000000000000
010001010011100000000000000000
001001010011100000000000000000
000101010011100000000000000000
000011010011100000000000000000
100000110011100000000000000000
010000110011100000000000000000
001000110011100000000000000000
000100110011100000000000000000
000010110011100000000000000000
000001110011100000000000000000
110000001011100000000000000000
101000001011100000000000000000
011000001011100000000000000000
100100001011100000000000000000
010100001011100000000000000000
001100001011100000000000000000
100010001011100000000000000000
010010001011100000000000000000
001010001011100000000000000000
000110001011100000000000000000
100001001011100000000000000000
010001001011100000000000000000
001001001011100000000000000000
000101001011100000000000000000
000011001011100000000000000000
100000101011100000000000000000
010000101011100000000000000000
001000101011100000000000000000
000100101011100000000000000000
000010101011100000000000000000
000001101011100000000000000000
100000011011100000000000000000
010000011011100000000000000000
001000011011100000000000000000
000100011011100000000000000000
000010011011100000000000000000
000001011011100000000000000000
000000111011100000000000000000
110000000111100000000000000000
101000000111100000000000000000
011000000111100000000000000000
100100000111100000000000000000
010100000111100000000000000000
001100000111100000000000000000
100010000111100000000000000000
010010000111100000000000000000
001010000111100000000000000000
000110000111100000000000000000
100001000111100000000000000000
010001000111100000000000000000
001001000111100000000000000000
000101000111100000000000000000
000011000111100000000000000000
100000100111100000000000000000
010000100111100000000000000000
001000100111100000000000000000
000100100111100000000000000000
000010100111100000000000000000
000001100111100000000000000000
100000010111100000000000000000
010000010111100000000000000000
001000010111100000000000000000
000100010111100000000000000000
000010010111100000000000000000
000001010111100000000000000000
000000110111100000000000000000
100000001111100000000000000000
010000001111100000000000000000
001000001111100000000000000000
000100001111100000000000000000
000010001111100000000000000000
000001001111100000000000000000
000000101111100000000000000000
000000011111100000000000000000
111110000000010000000000000000
111101000000010000000000000000
111011000000010000000000000000
110111000000010000000000000000
101111000000010000000000000000
011111000000010000000000000000
111100100000010000000000000000
111010100000010000000000000000
110110100000010000000000000000
101110100000010000000000000000
011110100000010000000000000000
111001100000010000000000000000
110101100000010000000000000000
101101100000010000000000000000
011101100000010000000000000000
110011100000010000000000000000
101011100000010000000000000000
011011100000010000000000000000
100111100000010000000000000000
010111100000010000000000000000
001111100000010000000000000000
111100010000010000000000000000
111010010000010000000000000000
110110010000010000000000000000
101110010000010000000000000000
011110010000010000000000000000
111001010000010000000000000000
110101010000010000000000000000
101101010000010000000000000000
011101010000010000000000000000
110011010000010000000000000000
101011010000010000000000000000
011011010000010000000000000000
100111010000010000000000000000
010111010000010000000000000000
001111010000010000000000000000
111000110000010000000000000000
110100110000010000000000000000
101100110000010000000000000000
011100110000010000000000000000
110010110000010000000000000000
101010110000010000000000000000
011010110000010000000000000000
100110110000010000000000000000
010110110000010000000000000000
001110110000010000000000000000
110001110000010000000000000000
101001110000010000000000000000
011001110000010000000000000000
100101110000010000000000000000
010101110000010000000000000000
001101110000010000000000000000
100011110000010000000000000000
010011110000010000000000000000
001011110000010000000000000000
000111110000010000000000000000
111100001000010000000000000000
111010001000010000000000000000
110110001000010000000000000000
101110001000010000000000000000
011110001000010000000000000000
111001001000010000000000000000
110101001000010000000000000000
101101001000010000000000000000
011101001000010000000000000000
110011001000010000000000000000
101011001000010000000000000000
011011001000010000000000000000
100111001000010000000000000000
010111001000010000000000000000
001111001000010000000000000000
111000101000010000000000000000
110100101000010000000000000000
101100101000010000000000000000
011100101000010000000000000000
110010101000010000000000000000
101010101000010000000000000000
011010101000010000000000000000
100110101000010000000000000000
010110101000010000000000000000
001110101000010000000000000000
110001101000010000000000000000
101001101000010000000000000000
011001101000010000000000000000
100101101000010000000000000000
010101101000010000000000000000
001101101000010000000000000000
100011101000010000000000000000
010011101000010000000000000000
001011101000010000000000000000
000111101000010000000000000000
111000011000010000000000000000
110100011000010000000000000000
101100011000010000000000000000
011100011000010000000000000000
110010011000010000000000000000
101010011000010000000000000000
011010011000010000000000000000
100110011000010000000000000000
010110011000010000000000000000
001110011000010000000000000000
110001011000010000000000000000
101001011000010000000000000000
011001011000010000000000000000
100101011000010000000000000000
010101011000010000000000000000
001101011000010000000000000000
100011011000010000000000000000
010011011000010000000000000000
001011011000010000000000000000
000111011000010000000000000000
110000111000010000000000000000
101000111000010000000000000000
011000111000010000000000000000
100100111000010000000000000000
010100111000010000000000000000
001100111000010000000000000000
100010111000010000000000000000
010010111000010000000000000000
001010111000010000000000000000
000110111000010000000000000000
100001111000010000000000000000
010001111000010000000000000000
001001111000010000000000000000
000101111000010000000000000000
000011111000010000000000000000
111100000100010000000000000000
111010000100010000000000000000
110110000100010000000000000000
101110000100010000000000000000
011110000100010000000000000000
111001000100010000000000000000
110101000100010000000000000000
101101000100010000000000000000
011101000100010000000000000000
110011000100010000000000000000
101011000100010000000000000000
011011000100010000000000000000
100111000100010000000000000000
010111000100010000000000000000
001111000100010000000000000000
111000100100010000000000000000
110100100100010000000000000000
101100100100010000000000000000
011100100100010000000000000000
110010100100010000000000000000
101010100100010000000000000000
011010100100010000000000000000
100110100100010000000000000000
010110100100010000000000000000
001110100100010000000000000000
110001100100010000000000000000
101001100100010000000000000000
011001100100010000000000000000
100101100100010000000000000000
010101100100010000000000000000
001101100100010000000000000000
100011100100010000000000000000
010011100100010000000000000000
001011100100010000000000000000
000111100100010000000000000000
111000010100010000000000000000
110100010100010000000000000000
101100010100010000000000000000
011100010100010000000000000000
110010010100010000000000000000
101010010100010000000000000000
011010010100010000000000000000
100110010100010000000000000000
010110010100010000000000000000
001110010100010000000000000000
110001010100010000000000000000
101001010100010000000000000000
011001010100010000000000000000
100101010100010000000000000000
010101010100010000000000000000
001101010100010000000000000000
100011010100010000000000000000
010011010100010000000000000000
001011010100010000000000000000
000111010100010000000000000000
110000110100010000000000000000
101000110100010000000000000000
011000110100010000000000000000
100100110100010000000000000000
010100110100010000000000000000
001100110100010000000000000000
100010110100010000000000000000
010010110100010000000000000000
001010110100010000000000000000
000110110100010000000000000000
100001110100010000000000000000
010001110100010000000000000000
001001110100010000000000000000
000101110100010000000000000000
000011110100010000000000000000
111000001100010000000000000000
110100001100010000000000000000
101100001100010000000000000000
011100001100010000000000000000
110010001100010000000000000000
101010001100010000000000000000
011010001100010000000000000000
100110001100010000000000000000
010110001100010000000000000000
001110001100010000000000000000
110001001100010000000000000000
101001001100010000000000000000
011001001100010000000000000000
100101001100010000000000000000
010101001100010000000000000000
001101001100010000000000000000
100011001100010000000000000000
010011001100010000000000000000
001011001100010000000000000000
000111001100010000000000000000
110000101100010000000000000000
101000101100010000000000000000
011000101100010000000000000000
100100101100010000000000000000
010100101100010000000000000000
001100101100010000000000000000
100010101100010000000000000000
010010101100010000000000000000
001010101100010000000000000000
000110101100010000000000000000
100001101100010000000000000000
010001101100010000000000000000
001001101100010000000000000000
000101101100010000000000000000
000011101100010000000000000000
110000011100010000000000000000
101000011100010000000000000000
011000011100010000000000000000
100100011100010000000000000000
010100011100010000000000000000
001100011100010000000000000000
100010011100010000000000000000
010010011100010000000000000000
001010011100010000000000000000
000110011100010000000000000000
100001011100010000000000000000
010001011100010000000000000000
001001011100010000000000000000
000101011100010000000000000000
000011011100010000000000000000
100000111100010000000000000000
010000111100010000000000000000
001000111100010000000000000000
000100111100010000000000000000
000010111100010000000000000000
000001111100010000000000000000
111100000010010000000000000000
111010000010010000000000000000
110110000010010000000000000000
101110000010010000000000000000
011110000010010000000000000000
111001000010010000000000000000
110101000010010000000000000000
101101000010010000000000000000
011101000010010000000000000000
110011000010010000000000000000
101011000010010000000000000000
011011000010010000000000000000
100111000010010000000000000000
010111000010010000000000000000
001111000010010000000000000000
111000100010010000000000000000
110100100010010000000000000000
101100100010010000000000000000
011100100010010000000000000000
110010100010010000000000000000
101010100010010000000000000000
011010100010010000000000000000
100110100010010000000000000000
010110100010010000000000000000
001110100010010000000000000000
110001100010010000000000000000
101001100010010000000000000000
011001100010010000000000000000
100101100010010000000000000000
010101100010010000000000000000
001101100010010000000000000000
100011100010010000000000000000
010011100010010000000000000000
001011100010010000000000000000
000111100010010000000000000000
111000010010010000000000000000
110100010010010000000000000000
101100010010010000000000000000
011100010010010000000000000000
110010010010010000000000000000
101010010010010000000000000000
011010010010010000000000000000
100110010010010000000000000000
010110010010010000000000000000
001110010010010000000000000000
110001010010010000000000000000
101001010010010000000000000000
011001010010010000000000000000
100101010010010000000000000000
010101010010010000000000000000
001101010010010000000000000000
100011010010010000000000000000
010011010010010000000000000000
001011010010010000000000000000
000111010010010000000000000000
110000110010010000000000000000
101000110010010000000000000000
011000110010010000000000000000
100100110010010000000000000000
010100110010010000000000000000
001100110010010000000000000000
100010110010010000000000000000
010010110010010000000000000000
001010110010010000000000000000
000110110010010000000000000000
100001110010010000000000000000
010001110010010000000000000000
001001110010010000000000000000
000101110010010000000000000000
000011110010010000000000000000
111000001010010000000000000000
110100001010010000000000000000
101100001010010000000000000000
011100001010010000000000000000
110010001010010000000000000000
101010001010010000000000000000
011010001010010000000000000000
100110001010010000000000000000
010110001010010000000000000000
001110001010010000000000000000
110001001010010000000000000000
101001001010010000000000000000
011001001010010000000000000000
100101001010010000000000000000
010101001010010000000000000000
001101001010010000000000000000
100011001010010000000000000000
010011001010010000000000000000
001011001010010000000000000000
000111001010010000000000000000
110000101010010000000000000000
101000101010010000000000000000
011000101010010000000000000000
100100101010010000000000000000
010100101010010000000000000000
001100101010010000000000000000
100010101010010000000000000000
010010101010010000000000000000
001010101010010000000000000000
000110101010010000000000000000
100001101010010000000000000000
010001101010010000000000000000
001001101010010000000000000000
000101101010010000000000000000
000011101010010000000000000000
110000011010010000000000000000
101000011010010000000000000000
011000011010010000000000000000
100100011010010000000000000000
010100011010010000000000000000
001100011010010000000000000000
100010011010010000000000000000
010010011010010000000000000000
001010011010010000000000000000
000110011010010000000000000000
100001011010010000000000000000
010001011010010000000000000000
001001011010010000000000000000
000101011010010000000000000000
000011011010010000000000000000
100000111010010000000000000000
010000111010010000000000000000
001000111010010000000000000000
000100111010010000000000000000
000010111010010000000000000000
000001111010010000000000000000
111000000110010000000000000000
110100000110010000000000000000
101100000110010000000000000000
011100000110010000000000000000
110010000110010000000000000000
101010000110010000000000000000
011010000110010000000000000000
100110000110010000000000000000
010110000110010000000000000000
001110000110010000000000000000
110001000110010000000000000000
101001000110010000000000000000
011001000110010000000000000000
100101000110010000000000000000
010101000110010000000000000000
001101000110010000000000000000
100011000110010000000000000000
010011000110010000000000000000
001011000110010000000000000000
000111000110010000000000000000
11