Just a simple code golf function for fun, intentionally left open with few rules to see what creativity comes up.
Input: An integer representing the area of a rectangle.
Output: Two integers representing the side lengths of the rectangle that have the least perimeter for the area. (In any order.)
Test cases:
25 => 5, 5
53 => 53, 1
4294967295 => 65537, 65535