// OBI2023 // Tarefa Estoque // r. anido import java.util.Scanner; public class estoque { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); int m = in.nextInt(); int[][] estoque = new int[n][m]; for (int i=0; i 0) { estoque[tipo][tamanho] -= 1; total += 1; } } System.out.printf("%d\n", total); } }