#include <stdio.h> int main(void) { int n = 0; while (scanf("%d", &n)) { printf("%d %d\n", 2 * n + 1, n * (n + 2)); } return 0; }