$/=words;say $0*$1 gcd$/.sum