20140627 +4

tricky algo...