import java.io.*; import java.util.*; public class Main { static long Tra(long x,long y) { if(y==0) {return x;} return Tra(y,x%y); } public static void main(String[] args) throws IOException { Scanner sc = new Scanner(System.in); int count = 5; while(count-- >0){ int x0 = sc.nextInt(); int y0 = s...