<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Number Size Checker</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background: linear-gradient(135deg, #4CAF50, #81C784);
            color: #fff;
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }
        .container {
            background-color: #2E7D32;
            border-radius: 15px;
            padding: 30px 40px;
            box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
            text-align: center;
        }
        .title {
            font-size: 24px;
            margin-bottom: 20px;
        }
        input[type="number"] {
            padding: 10px;
            border: none;
            border-radius: 5px;
            margin-bottom: 20px;
            width: 100%;
            font-size: 16px;
        }
        button {
            padding: 10px 20px;
            font-size: 16px;
            color: #2E7D32;
            background-color: #fff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
        }
        button:hover {
            background-color: #388E3C;
            color: #fff;
        }
        .result {
            margin-top: 20px;
            font-size: 20px;
            font-weight: bold;
        }
        .telegram-button {
            margin-top: 30px;
            text-decoration: none;
            color: #fff;
            background-color: #0088cc;
            padding: 10px 20px;
            border-radius: 5px;
            font-size: 16px;
            display: inline-block;
            transition: background-color 0.3s ease;
        }
        .telegram-button:hover {
            background-color: #005f8a;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="title">Number Size Checker</div>
        <input type="number" id="inputNumber" placeholder="Enter a number" />
        <button onclick="checkSize()">Check Size</button>
        <div id="result" class="result"></div>
        <!-- Telegram Button -->
        <a href="https://t.me/+sYJbtbNqjio2MDQ1" target="_blank" class="telegram-button">Telegram</a>
    </div>

    <script>
        function checkSize() {
            const input = parseInt(document.getElementById('inputNumber').value, 10);
            let output;

            switch (input) {
                case 1:
                case 4:
                case 6:
                case 7:
                case 9:
                    output = "Big";
                    break;
                case 2:
                case 3:
                case 5:
                case 8:
                    output = "Small";
                    break;
                default:
                    output = "Invalid Input";
            }

            document.getElementById('result').innerText = output;
        }
    </script>
</body>
</html>
