package atcoder.beginner.Content085

object B_Kagami_Mochi extends App {

  //println("enter the numbers of kagami mochi")
  val N = new java.util.Scanner(System.in)
  val n = N.nextInt
  //println("numbers of kagami mochi = " + n )

  var A: Array[Int] = Array.empty

  //println("enter the radius of each kagami mochi")
  for ( i <- 1 to n ){
    val M = new java.util.Scanner(System.in)
    val m = M.nextInt
    A = A :+ m
  }

  //println(A.mkString)

  A = A distinct

  //print("the number of statges of Kagami mochi is = ")
  println(A.length)

}
