문제 : https://www.acmicpc.net/problem/2875 import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int f = s.nextInt(); int m = s.nextInt(); int i = s.nextInt(); int team = 0; while (true) { if (f + m >= i+3 && f >= 2 && m >= 1) { team++; f -= 2; m -= 1; } else { break; } } System.out.println(team); } } f+m>=i+3 i+3(인턴숫자+팀을이룰숫자)을 ..