using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BOJ2839 { class Program { static void Main(string[] args) { // 입력 받는 무게 int input = int.Parse(Console.ReadLine()); // 봉지 갯수 int count = 0; // while문으로 input값이 0보다 클때까지 반복 // - 루프 한번이 돌면 input에는 계산된 나머지가 계속 남게됨. 나머지 값을 계속 체크해주는 것 // - 1. 3의 배수인지 5의 배수인지 체크 // - 2. 두 경우가 아니..