word = input('','s'); words = strsplit(word,';'); origenal = [0,0]; function [out] = islegal(in) if length(in) == 3 if ~isempty(str2num(in(2:3))) out = 1; return; end end if length(in) == 2 if ~isempty(str2num(in(2))) out = 1; ...