Andy Griffith was just so smart and logical.