📖 문제 📃 코드 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { static Integer[] dp = new Integer[10008]; static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); public static void main(String[] args) throws IOException { dp[0] = 0; dp[1] = 1; dp[2] = 2; dp[3] = 3; // dp[n] = dp[n-1] + dp[n-2] int N = Integer.par..