package Pazz; import java.io.*; import java.lang.String; public class Main { public static void main(String[] args) throws Exception { Main solution = new Main(); int p = 0; int m = 0; BufferedReader b = new BufferedReader (new InputStreamReader (System.in)); solution.Arrr(Integer.parseInt(b.readLine())); solution.Arrr(Integer.parseInt(b.readLine())); solution.Arrr(Integer.parseInt(b.readLine())); System.out.println ("количество отрицательных чисел: " + m); System.out.println ("количество положительных чисел: " + p); } public void Arrr (int a) { if (a<0) m++; if (a>0) p++;} } Что мне нужно сделать, что метод Arrr обратился к переменным p и m из метода main (не перенося переменные из метода в класс)