#include <stdio.h>
 
int main(void) {
	int a,b = 1;
    a = b++ * b++ * b++;
    printf("%d %d", a,b);
	return 0;
}