Sherlock and Square

  • + 1 comment

    return (pow(2,n+1,1000000007)+2)%1000000007