import java.util.Scanner;
public class Test {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.print("x = ");
int x;
x = input.nextInt();
int y;
y = 3 * (x*6) - 6 * (x*2) - 7;
System.out.println("y = " + y);
}
import java.util.Scanner;
public class Test {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
System.out.print("x = ");
int x;
x = input.nextInt();
int y;
y = 3 * (x*6) - 6 * (x*2) - 7;
System.out.println("y = " + y);
}
}