#include <stdio.h>

int main() {
    int ʁu;
    int ʀu;
    int ru;
    scanf("%d",&ru);
    ʀu =  ru-1;
    while (ru % ʀu != 0) {
        ʀu = ʀu-1;
    }
    ʁu =  ru/ʀu;
    printf("%d %d \n",ʀu,ʁu);
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: