#include using namespace std; int main(int argc, char const* argv[]) { int n; cin>>n; int N; for (int i = 0; i < n; i++) { cin>>N; if(N%3==0)cout<