The first one. Almost sure means that the probability will be eventually one (denoted by the equality sign, while the limit is WITHIN the brackets). The second expression is convergence in probability, so the expression approaches one when n goes to infinity but never actually gets there.