k, n ,f = list(map(int, input().split())) a = sum(map(int, input().split())) x = k * n print([x-a, -1][x < a])