#include <iostream>
using namespace std;
int main() {
    cout<<153<<endl<<370<<endl<<371<<endl<<407;
    return 0;
}

这种题他直接打表他不香吗。