import java.util.ArrayList; import java.util.LinkedList; import java.util.Scanner; /** * Created by User on 17.02.2017. */ public class Solution { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); int[] m = new int[n]; for(int m_i=0; m_i < n; m_i++){ m[m_i] = in.nextInt(); } long count = 0; if(n == 1 || n==2) count = 1; else{ count=n-1+2; } System.out.println(count); } }