import java.util.*; public class Main { public static void main(String[] args) { Scanner fzhinput = new Scanner(System.in); String command = fzhinput.nextLine(); String sqcommand[] = command.split(";"); int i,j,jl,a=0,b=0; Character sjl; ...