import java.util.*;
import java.lang.*;
import java.io.*;
public class UserValidator {

    void validateName(String name) {
        if (name != null)
            System.out.println("Set your name");
        else {
            System.out.println("User name: " + name);
        }
    }

    void validateAge(double age, double height) {
        if (age > 30 || height > 160) {
            System.out.println("User is older than 30 and higher ten 160cm");
        } else {
            System.out.println("User is younger than 30 or lower than 160");
        }
    }


    class Apllication {
        public static void main(String[] args) throws java.lang.Exception {
            String name = "Adam";
            double age = 40.5;
            double height = 178;

            UserValidator user = new UserValidator();
            System.out.println(validateName);
            System.out.println(validateAge);
        }
    }
}