n = int(input()) result = list(range(3, 3 + n - 1)) if n % 3 == 2: result.append(n + 2) elif n % 3 == 1: result.append(n + 4) else: result.append(n + 3) print(result)