1from secret import clue
2def lucky():
3 #[00000{111}]
4 first_res = clue(left_shift = 5) >> 5
5 #[{111}00(000)]
6 second_res = clue(right_shift = 5) << 5
7 #[(000){1}0(000)]
8 third_res = clue(bw_and = 16)
9 #[(111)(1){0}(111)] [0000{1}000]
10 fourth_res = clue(bw_or = 247) & 8
11 number = first_res | second_res | third_res | fourth_res
12 return number
.
----------------------------------------------------------------------
Ran 1 test in 0.004s
OK