Print any pair of integers with sum of GCD and LCM equals to N | Function to prvar the required pair ; Prvar the pair ; Driver code
function printPair ( n ) { document . write ( 1 + " " + ( n - 1 ) ) ; } var n = 14 ; printPair ( n ) ;