begin write  a calc