Identify Arithmetic And Geometric Sequences