Given an array of positive integers, return the second-largest element. If there are fewer than two integers, return -1.