<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<style type="text/css">
p{
margin: 0;
font-size: .6em;
}
output{
color: #FF1493;
}
</style>
</head>
<body>
<p>001</p>
<p>002</p>
<p>003</p>
<p>004</p>
<p>0050000000000</p>
<p>006</p>
<p>007</p>
<p>008</p>
<p>009</p>
<p>0100000000000</p>
<p>011</p>
<p>012</p>
<p>013<span></span>
<span></span>
<span></span>
<span></span>
<span></span></p>
<p>014</p>
<p>015</p>
<output id="output"></output>
<script>
for (const {textContent : {length}, textContent} of document.querySelectorAll('p'))
length <= 10 || output.append(`"${textContent}" `);
</script>
</body>
</html>