SPOJ : LISA, doc added.