A self-taught calculator