To solve Move Only One Match To Fix The Equation.

Each digit is represented by 7bits using 7-segment-display. The least significant bit corresponds to position 0. Position starts from left top to right bottom.

Examples

     6543210    
8 0b01111111
0 0b01111011
9 0b01100111

With this encoding, it is easy to:

  1. pick and draw a match
  2. print digits in diagram(not implemented)