          N, M, K, P (N <= 100; M, K, P <= 10; P <= K).