[subject line]

[Bug input/output]

[Fix]
precedence of shif operation
[subject line]
add sort colors
[Bug input/output]

[Fix]