Find all files in the directory "/path/to/directory" with a maximum depth of 1, that are less than 50MB in size, and list them with their details in long format.
find /path/to/directory -maxdepth 1 -type f -size -50M -exec ls -alh {} \;