与ãˆã‚‰ã‚ŒãŸæ•°ã‚’ã€ãれ以下ã®æ•°ã®ä¸ã§æœ€å¤§ã®$2$ã®ç´¯ä¹—ã«å¤‰æ›ã—ã¦ãã ã•ã„。ãŸã¨ãˆã°ã€$2$ã‚„$3$ãªã‚‰ã°$2^1=2$ã«å¤‰æ›ã—ã¦ãã ã•ã„。åŒæ§˜ã«$4$,$5$,$6$,$7$ãªã‚‰ã°$2^2=4$ã«ã€$8$,$9$,$10$,$11$,...,$15$ãªã‚‰ã°$2^3=8$ã«å¤‰æ›ã—ã¦ãã ã•ã„。
与ãˆã‚‰ã‚ŒãŸæ•°ã‚’ã€ãã®æ•°ä»¥ä¸‹ã®æ•°ã®ä¸ã§æœ€å¤§ã®$2$ã®ç´¯ä¹—ã«å¤‰æ›ã™ã‚‹ãƒ—ãƒã‚°ãƒ©ãƒ を作æˆã›ã‚ˆã€‚
入力ã¯ä»¥ä¸‹ã®å½¢å¼ã§ä¸Žãˆã‚‰ã‚Œã‚‹ã€‚
$N$
1行ã«æ•°$N$ ($2 \leq N \leq 10^6$)ãŒä¸Žãˆã‚‰ã‚Œã‚‹ã€‚
変æ›ã—ãŸæ•°ã‚’1行ã«å‡ºåŠ›ã™ã‚‹ã€‚
54
32
1024
1024