just use your brain....
notes: this might seem impossibly hard to believe but this thing is made of 6 lines of code...