#!/bin/bash

a=$(cat nowcoder.txt | cut -d ' ' -f 1 | sort | uniq -c | tr -s ' ' | sed 's/ //' | sort -r)
l=$(echo "$a" | wc -l)
for (( i=1;i<=$l;i=i+1 ));do
    line=$(echo "$a" | sed -n "${i}p")
    col1=$(echo "$line" | cut -d ' ' -f 1)
    if [ $col1 -gt 3 ];then
        echo $line
    fi
done