#! ruby # yukicoder My Practice # author: Leonardone @ NEETSDKASU W1 = gets.chomp W2 = gets.chomp p (W1 + W2).split('x').map(&:size).max||0