# 문제주소: https://www.acmicpc.net/problem/1193# 코드import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;public class BOJ1193_v1 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int X = Integer.parseInt(br.readLine()); // 입력값 int x = 1; // 분모 int y = 1; // 분자 in..