package Stepik;
import java.util.Scanner;
public class BooleanInt {
public static void main(String [] args) {
Scanner Input = new Scanner (
System.in);
System.out.println("Enter the first value: ");
int first = Input.nextInt();
System.out.println("Enter the second value: ");
int second = Input.nextInt();
System.out.println("Type the current weather: ");
String Weather = Input.nextLine();
String Advice = "Sunly";
boolean result = first > second;
String walk = Weather.equals(Advice)?"Yes, you can":"No, you can't";
System.out.println("The result is " + result);
System.out.println("Advice is " + walk);
Input.close();
}
}