<?php

/* DorcasTabithaBundle:Assistance:assistanceform.html.twig */
class __TwigTemplate_6ca8b1c20678615656c739e6381f851a extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = $this->env->loadTemplate("::base.html.twig");

        $this->blocks = array(
            'body' => array($this, 'block_body'),
            'javascripts' => array($this, 'block_javascripts'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "::base.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    public function block_body($context, array $blocks = array())
    {
        // line 4
        echo "
<div id=\"navbar\" style=\"font-size:18px;\">   
    <ul>       
        <li><a href=\"javascript: submitFormAssistance(9)\">Home</a></li>
        <li><a href=\"javascript: submitFormAssistance(1)\">Client Information</a></li> 
        <li><a href=\"javascript: submitFormAssistance(2)\">Finance</a></li>
        <li><a href=\"javascript: submitFormAssistance(3)\">Notes</a></li>
        <li><a href=\"javascript: submitFormAssistance(4)\" style=\"background-color:#00b5cb; font-size:30px;\">Assistance</a></li>
        <li><a href=\"javascript: submitFormAssistance(5)\">Referrals</a></li>
    </ul> 
</div>

";
        // line 16
        if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
        if ($this->getAttribute($this->getAttribute($_app_, "session"), "hasFlash", array(0 => "info"), "method")) {
            // line 17
            echo "    <div class=\"flash-notice\" style=\"padding-left:27px; padding-top:10px;\">
        ";
            // line 18
            if (isset($context["app"])) { $_app_ = $context["app"]; } else { $_app_ = null; }
            echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($_app_, "session"), "flash", array(0 => "info"), "method"), "html", null, true);
            echo "
    </div>
";
        }
        // line 21
        echo "
<section class=\"assistance\" id=\"assistance\">
    <br/>
    <input type=button onClick=\"location.href='javascript: submitFormAssistance(6)'\" value='Save/Next' style=\"color:#00b5cb; background-color:white;\">       
    ";
        // line 26
        echo "    <div style=\"padding-right:50px; float:right;\">
        ";
        // line 27
        if (isset($context["client"])) { $_client_ = $context["client"]; } else { $_client_ = null; }
        $context["urlpath"] = $this->env->getExtension('routing')->getPath("DorcasTabithaBundle_print_pledgeShow", array("client_id" => $this->getAttribute($_client_, "clientid")));
        // line 28
        echo "        <input type=\"button\" value=\"Pledge Confirmation\" onclick=\"window.open(' ";
        if (isset($context["urlpath"])) { $_urlpath_ = $context["urlpath"]; } else { $_urlpath_ = null; }
        echo twig_escape_filter($this->env, $_urlpath_, "html", null, true);
        echo " ','','width=850,height=1000, menubar=yes')\" />        

        ";
        // line 30
        if (isset($context["client"])) { $_client_ = $context["client"]; } else { $_client_ = null; }
        $context["urlpath"] = $this->env->getExtension('routing')->getPath("DorcasTabithaBundle_print_promissoryShow", array("client_id" => $this->getAttribute($_client_, "clientid")));
        // line 31
        echo "        <input type=\"button\" value=\"Promissory Note\" onclick=\"window.open(' ";
        if (isset($context["urlpath"])) { $_urlpath_ = $context["urlpath"]; } else { $_urlpath_ = null; }
        echo twig_escape_filter($this->env, $_urlpath_, "html", null, true);
        echo " ','','width=850,height=1000, menubar=yes')\" />        
    </div>


    <br>
    <section class=\"previous-assistance\">       
        ";
        // line 37
        if (isset($context["assistances"])) { $_assistances_ = $context["assistances"]; } else { $_assistances_ = null; }
        $this->env->loadTemplate("DorcasTabithaBundle:Assistance:assistanceloop.html.twig")->display(array_merge($context, array("assistances" => $_assistances_)));
        // line 38
        echo "    </section>
</section>

<section class=\"assistance\" id=\"assistances\">
            ";
        // line 43
        echo "
    <br/>
    <br />

    ";
        // line 47
        if (array_key_exists("form", $context)) {
            // line 48
            echo "        ";
            if (array_key_exists("blockmessage", $context)) {
                // line 49
                echo "            ";
                if (isset($context["blockmessage"])) { $_blockmessage_ = $context["blockmessage"]; } else { $_blockmessage_ = null; }
                if (($_blockmessage_ != true)) {
                    // line 50
                    echo "                <div style=\"color:maroon;\">
                    ";
                    // line 51
                    if (isset($context["form"])) { $_form_ = $context["form"]; } else { $_form_ = null; }
                    echo $this->env->getExtension('form')->renderErrors($_form_);
                    echo "
                </div>
            ";
                }
                // line 54
                echo "        ";
            }
            // line 55
            echo "    ";
        }
        // line 56
        echo "
    ";
        // line 57
        if (array_key_exists("valid", $context)) {
            // line 58
            echo "        ";
            if (isset($context["valid"])) { $_valid_ = $context["valid"]; } else { $_valid_ = null; }
            if ($_valid_) {
                // line 59
                echo "            ";
                if (isset($context["client"])) { $_client_ = $context["client"]; } else { $_client_ = null; }
                if (isset($context["history"])) { $_history_ = $context["history"]; } else { $_history_ = null; }
                echo $this->env->getExtension('actions')->renderAction("DorcasTabithaBundle:Assistance:new", array("client_id" => $this->getAttribute($_client_, "clientid"), "history" => $_history_), array());
                echo " 
        ";
            } else {
                // line 61
                echo "            ";
                if (isset($context["client"])) { $_client_ = $context["client"]; } else { $_client_ = null; }
                if (isset($context["history"])) { $_history_ = $context["history"]; } else { $_history_ = null; }
                echo $this->env->getExtension('actions')->renderAction("DorcasTabithaBundle:Assistance:renew", array("client_id" => $this->getAttribute($_client_, "clientid"), "history" => $_history_), array());
                echo "         
        ";
            }
            // line 63
            echo "    ";
        } else {
            // line 64
            echo "        ";
            if (isset($context["client"])) { $_client_ = $context["client"]; } else { $_client_ = null; }
            if (isset($context["history"])) { $_history_ = $context["history"]; } else { $_history_ = null; }
            echo $this->env->getExtension('actions')->renderAction("DorcasTabithaBundle:Assistance:renew", array("client_id" => $this->getAttribute($_client_, "clientid"), "history" => $_history_), array());
            // line 65
            echo "    ";
        }
        // line 66
        echo "

</section>


";
        // line 73
        echo "
";
    }

    // line 76
    public function block_javascripts($context, array $blocks = array())
    {
        // line 77
        echo "
    ";
        // line 78
        $this->displayParentBlock("javascripts", $context, $blocks);
        echo "           

<script type=\"text/javascript\">

\$(function() {
//    \$( \".datepicker\" ).datepicker({ showAnim: \"slideDown\" });
    \$( \".datepicker\" ).datepicker({ changeMonth: true, changeYear: true, yearRange:\"-90:+0\", maxDate: \"+0d\"
        });
        });

window.alert = function(message) {
\t\$('#override_javascript_alert').html(message).dialog({
\t\tmodal:true,
\t\ttitle:'Tabitha Validation Message',
\t\tbuttons: {
\t\t\t'OK':function(){
\t\t\t\t\$(this).dialog('close');
\t\t\t}
\t\t}
\t});
};


warnusers = function(message) {
\t\$('#override_javascript_alertx').html(message).dialog({
\t\tmodal: true,
                title:'Tabitha Warning Message',
\t\t\tbuttons: {
\t\t\t\t\"Continue to Page\": function() {
                                        var form = document.forms[\"clientform\"];
                                        form.submit();
\t\t\t\t\t\$( this ).dialog( \"close\" );
\t\t\t\t},
\t\t\t\tCancel: function() {
\t\t\t\t\t\$( this ).dialog( \"close\" );
\t\t\t\t}
\t\t\t}
\t\t});
\t};


/**--------------------------
//* Validate Date Field script- By JavaScriptKit.com
//* For this script and 100s more, visit http://www.javascriptkit.com
//* This notice must stay intact for usage
---------------------------**/

function checkdate(input){
    var validformat=/^\\d{2}\\/\\d{2}\\/\\d{4}\$/ //Basic check for format validity
    var returnval=false
    if (!validformat.test(input))
    {
//        alert(\"Invalid Date Format. Please correct and submit again.\")
    }
    else{ //Detailed check for valid date ranges
        var monthfield=input.split(\"/\")[0]
        var dayfield=input.split(\"/\")[1]
        var yearfield=input.split(\"/\")[2]
        var dayobj = new Date(yearfield, monthfield-1, dayfield)
        if ((dayobj.getMonth()+1!=monthfield)||(dayobj.getDate()!=dayfield)||(dayobj.getFullYear()!=yearfield))
        {
//            alert(\"Invalid Day, Month, or Year range detected. Please correct and submit again.\")
        }
        else
            returnval=true
    }
//    if (returnval==false) input.select()
    return returnval
}

function submitFormAssistance(navnumber) {
                    var form = document.forms[\"clientform\"];
                    var hiddenField = document.createElement(\"input\"); 
                    hiddenField.setAttribute(\"type\", \"hidden\"); 
                    hiddenField.setAttribute(\"name\", \"passnav\"); 
                    hiddenField.setAttribute(\"value\", navnumber); 
                    form.appendChild(hiddenField);
                    saveallabove(true);
                }


function saveallabove(nav)
{ 
    // Read all values
    var foodGiven = document.getElementById('assistanceform_food_given').checked;
    var foodGivenDate = document.getElementById('assistanceform_food_given_date').value;
    var checkDorcas = document.getElementById('assistanceform_check_dorcas').value;
    var checkOasis = document.getElementById('assistanceform_check_oasis').value;
    var checkSfumc = document.getElementById('assistanceform_check_sfumc').value;
    var checkOther = document.getElementById('assistanceform_check_other').value;
    var checksIssuedPayee = document.getElementById('assistanceform_checks_issued_payee').value;
    var checksIssuedDate = document.getElementById('assistanceform_checks_issued_date').value;
    var checkPurpose = document.getElementById('assistanceform_checkpurpose').value;
    var specialProgram = document.getElementById('assistanceform_special_program').value;
    var specialProgramDate = document.getElementById('assistanceform_special_program_date').value;
    var specialProgramRecipientName = document.getElementById('assistanceform_special_program_recipient_name').value;
    var specialProgramParentName = document.getElementById('assistanceform_special_program_parent_name').value;
    var specialProgramProgramCheck = document.getElementById('assistanceform_special_program_check').value;
    
    okaytosubmit = true;
    alertMessage = \"\";

    // Check for nothing entered
    if (foodGiven == true) okaytosubmit = true;
    else if (foodGivenDate) okaytosubmit = true;
    else if (checkDorcas) okaytosubmit = true;
    else if (checkOasis) okaytosubmit = true;
    else if (checkSfumc) okaytosubmit = true;
    else if (checkOther) okaytosubmit = true;
    else if (checksIssuedPayee) okaytosubmit = true;
    else if (checksIssuedDate) okaytosubmit = true;
    else if (checkPurpose != 1) okaytosubmit = true;
    else if (specialProgram != 1) okaytosubmit = true;
    else if (specialProgramDate) okaytosubmit = true;
    else if (specialProgramRecipientName) okaytosubmit = true;
    else if (specialProgramParentName) okaytosubmit = true;
    else if (specialProgramProgramCheck) okaytosubmit = true;
    else 
    {
        alertMessage = alertMessage + '&#8227 No information entered, nothing saved. <br/>';
        if ( nav ) okaytosubmit = true;
        else okaytosubmit = false; 
    } 

    // Check Food Given Date for valid date
    if (foodGivenDate && !checkdate(foodGivenDate))
    {
        alertMessage = alertMessage + '&#8227 Please enter a valid Food Given Date. <br/>';
        okaytosubmit = false;
    }

    // Check Special Programs Date for valid date
    if (specialProgramDate && !checkdate(specialProgramDate))
    {
        alertMessage = alertMessage + '&#8227 Please enter a valid Special Programs <br/>&nbsp Date. <br/>';
        okaytosubmit = false;
    }

    // Check Checks Issued Date for valid date
    if (checksIssuedDate && !checkdate(checksIssuedDate))
    {
        alertMessage = alertMessage + '&#8227 Please enter a valid Checks Issued Date. <br/>';
        okaytosubmit = false;
    }

    // Check Special Programs for non-required fields and do not send to server side - do nothing
    if ((specialProgramDate || specialProgramRecipientName || specialProgramParentName)
        && (specialProgram == 1 && !specialProgramProgramCheck)) 
    {
        alertMessage = alertMessage + '&#8227 Please enter Special Programs Program <br/>&nbsp and Amount. <br/>';
        okaytosubmit = false;
    }

    // Check for Special Programs Program selected but Amount is not entered
    if (specialProgram != 1 && !specialProgramProgramCheck)
    {
        alertMessage = alertMessage + '&#8227 Please enter a Special Programs Amount <br/>&nbsp for Program Selected. <br/>';
        okaytosubmit = false;
    }

    // Check for Special Programs Amount entered but Program is not Selected
    if (specialProgram == 1 && specialProgramProgramCheck)
    {
        alertMessage = alertMessage + '&#8227 Please enter a Special Programs Program <br/>&nbsp for Amount Selected. <br/>';
        okaytosubmit = false;
    }
    
    // Check Checks Issued for at least one dollar field entered if ANY other required fields are entered
    if ((checkPurpose != 1 || checksIssuedDate || checksIssuedPayee) && !(checkDorcas || checkOasis || checkSfumc || checkOther))
    {
        alertMessage = alertMessage + '&#8227 Please enter Checks Issued Purpose, <br/>&nbsp; Date, Payee, and a dollar amount in <br/>&nbsp; at least one dollar field. <br/>';
        okaytosubmit = false;
    }
   
    // Linda's code
   // if ((checkPurpose && checksIssuedDate && checksIssuedPayee) && (checkDorcas || checkOasis || checkSfumc || checkOther)) {}
   //   else
   //      {
   //      alertMessage = alertMessage + '&#8227 Please enter Checks Issued Purpose, <br/>&nbsp Date, Payee, and a dollar amount in <br/>&nbsp at least one dollar field.<br/>';
   //     okaytosubmit = false;
   //     }

    // Check Checks Issued for any dollar field has a value and all three required fields are not present
    if (!(checkPurpose != 1 && checksIssuedDate && checksIssuedPayee) && (checkDorcas || checkOasis || checkSfumc || checkOther))
    {
        alertMessage = alertMessage + '&#8227 Please enter Checks Issued Purpose, <br/>&nbsp Date, Payee, and a dollar amount in <br/>&nbsp at least one dollar field. <br/>';
        okaytosubmit = false;
    }

    if (okaytosubmit == true)
    {
        var form = document.forms[\"clientform\"];
        form.submit();
    }
    else
    {
        // If nav is selected and none of these values were set, then it is okay to redirect
            if((foodGiven == false && !foodGivenDate) && !checkDorcas
                    && !checkOasis && !checkOther && !checkSfumc
                    && !specialProgramProgramCheck && specialProgram == 1
                    && checkPurpose == 1 && nav)
            {
                alertMessage = '<p style = \"color:red;\"> Warning: Your changes to Assistance will not be saved! </p>';
                warnusers(alertMessage);
            }
            else alert(alertMessage);
    }
}




function Xclearform()
{
    var checkboxid = document.getElementById('assistanceform_food_given');
    checkboxid.checked = false;

    var textboxid = document.getElementById('assistanceform_food_given_date');
    textboxid.value = \"\";

    var input = document.getElementById('assistanceform_check_dorcas');
    input.value = \"\";
    var input = document.getElementById('assistanceform_check_oasis');
    input.value = \"\";
    var input = document.getElementById('assistanceform_check_sfumc');
    input.value = \"\";
    var input = document.getElementById('assistanceform_check_other');
    input.value = \"\";
    var input = document.getElementById('assistanceform_checks_issued_payee');
    input.value = \"\";
    var input = document.getElementById('assistanceform_checks_issued_date');
    input.value = \"\";
    var input = document.getElementById('assistanceform_checkpurpose');
    input.value = \"\";  
}

function isNumber(field)
{
     if( isNaN(field.value)){
        alert(\"Please enter a dollar amount with no dollar sign.\");
        field.value = 0;
        field.focus();
         }
}

    function fgcheckbox(field)
    {
        var checkboxid = document.getElementById('assistanceform_food_given');
        if(checkboxid.checked == true){
            //Get todays date
            var now = new Date();
            var formattednow = now.format(\"mm/dd/yyyy\");
            var textboxid = document.getElementById('assistanceform_food_given_date');
            textboxid.value = formattednow;
        }    
        else
        {
            var textboxid = document.getElementById('assistanceform_food_given_date');
            textboxid.value = \"\";  
        }
    }

    function fgdate(field)
    {
        var checkboxid = document.getElementById('assistanceform_food_given');
        var textboxid = document.getElementById('assistanceform_food_given_date');
        checkboxid.checked = true;
        if (textboxid.value == \"\") {
            checkboxid.checked = false;
        }
    }



    /*
    * Date Format 1.2.3
    * (c) 2007-2009 Steven Levithan <stevenlevithan.com>
    * MIT license
    *
    * Includes enhancements by Scott Trenda <scott.trenda.net>
    * and Kris Kowal <cixar.com/~kris.kowal/>
    *
    * Accepts a date, a mask, or a date and a mask.
    * Returns a formatted version of the given date.
    * The date defaults to the current date/time.
    * The mask defaults to dateFormat.masks.default.
    */

    var dateFormat = function () {
            var\ttoken = /d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\\1?|[LloSZ]|\"[^\"]*\"|'[^']*'/g,
                    timezone = /\\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\\d{4})?)\\b/g,
                    timezoneClip = /[^-+\\dA-Z]/g,
                    pad = function (val, len) {
                            val = String(val);
                            len = len || 2;
                            while (val.length < len) val = \"0\" + val;
                            return val;
                    };

            // Regexes and supporting functions are cached through closure
            return function (date, mask, utc) {
                    var dF = dateFormat;

                    // You can't provide utc if you skip other args (use the \"UTC:\" mask prefix)
                    if (arguments.length == 1 && Object.prototype.toString.call(date) == \"[object String]\" && !/\\d/.test(date)) {
                            mask = date;
                            date = undefined;
                    }

                    // Passing date through Date applies Date.parse, if necessary
                    date = date ? new Date(date) : new Date;
                    if (isNaN(date)) throw SyntaxError(\"invalid date\");

                    mask = String(dF.masks[mask] || mask || dF.masks[\"default\"]);

                    // Allow setting the utc argument via the mask
                    if (mask.slice(0, 4) == \"UTC:\") {
                            mask = mask.slice(4);
                            utc = true;
                    }

                    var\t_ = utc ? \"getUTC\" : \"get\",
                            d = date[_ + \"Date\"](),
                            D = date[_ + \"Day\"](),
                            m = date[_ + \"Month\"](),
                            y = date[_ + \"FullYear\"](),
                            H = date[_ + \"Hours\"](),
                            M = date[_ + \"Minutes\"](),
                            s = date[_ + \"Seconds\"](),
                            L = date[_ + \"Milliseconds\"](),
                            o = utc ? 0 : date.getTimezoneOffset(),
                            flags = {
                                    d:    d,
                                    dd:   pad(d),
                                    ddd:  dF.i18n.dayNames[D],
                                    dddd: dF.i18n.dayNames[D + 7],
                                    m:    m + 1,
                                    mm:   pad(m + 1),
                                    mmm:  dF.i18n.monthNames[m],
                                    mmmm: dF.i18n.monthNames[m + 12],
                                    yy:   String(y).slice(2),
                                    yyyy: y,
                                    h:    H % 12 || 12,
                                    hh:   pad(H % 12 || 12),
                                    H:    H,
                                    HH:   pad(H),
                                    M:    M,
                                    MM:   pad(M),
                                    s:    s,
                                    ss:   pad(s),
                                    l:    pad(L, 3),
                                    L:    pad(L > 99 ? Math.round(L / 10) : L),
                                    t:    H < 12 ? \"a\"  : \"p\",
                                    tt:   H < 12 ? \"am\" : \"pm\",
                                    T:    H < 12 ? \"A\"  : \"P\",
                                    TT:   H < 12 ? \"AM\" : \"PM\",
                                    Z:    utc ? \"UTC\" : (String(date).match(timezone) || [\"\"]).pop().replace(timezoneClip, \"\"),
                                    o:    (o > 0 ? \"-\" : \"+\") + pad(Math.floor(Math.abs(o) / 60) * 100 + Math.abs(o) % 60, 4),
                                    S:    [\"th\", \"st\", \"nd\", \"rd\"][d % 10 > 3 ? 0 : (d % 100 - d % 10 != 10) * d % 10]
                            };

                    return mask.replace(token, function (\$0) {
                            return \$0 in flags ? flags[\$0] : \$0.slice(1, \$0.length - 1);
                    });
            };
    }();

    // Some common format strings
    dateFormat.masks = {
            \"default\":      \"ddd mmm dd yyyy HH:MM:ss\",
            shortDate:      \"m/d/yy\",
            mediumDate:     \"mmm d, yyyy\",
            longDate:       \"mmmm d, yyyy\",
            fullDate:       \"dddd, mmmm d, yyyy\",
            shortTime:      \"h:MM TT\",
            mediumTime:     \"h:MM:ss TT\",
            longTime:       \"h:MM:ss TT Z\",
            isoDate:        \"yyyy-mm-dd\",
            isoTime:        \"HH:MM:ss\",
            isoDateTime:    \"yyyy-mm-dd'T'HH:MM:ss\",
            isoUtcDateTime: \"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'\"
    };

    // Internationalization strings
    dateFormat.i18n = {
            dayNames: [
                    \"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\",
                    \"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"
            ],
            monthNames: [
                    \"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\",
                    \"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"
            ]
    };

    // For convenience...
    Date.prototype.format = function (mask, utc) {
            return dateFormat(this, mask, utc);
    };


</script>

    
";
    }

    public function getTemplateName()
    {
        return "DorcasTabithaBundle:Assistance:assistanceform.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  184 => 78,  181 => 77,  173 => 73,  163 => 65,  155 => 63,  139 => 59,  135 => 58,  133 => 57,  114 => 50,  110 => 49,  105 => 47,  93 => 38,  76 => 30,  69 => 28,  209 => 78,  206 => 77,  201 => 76,  194 => 71,  191 => 70,  186 => 67,  180 => 63,  176 => 61,  166 => 66,  158 => 64,  153 => 55,  143 => 49,  134 => 44,  123 => 40,  118 => 39,  90 => 37,  87 => 27,  66 => 27,  60 => 15,  146 => 50,  136 => 41,  122 => 37,  107 => 48,  101 => 33,  95 => 29,  82 => 25,  73 => 20,  67 => 17,  52 => 11,  109 => 20,  104 => 34,  96 => 32,  84 => 14,  80 => 24,  26 => 4,  34 => 6,  112 => 21,  102 => 19,  89 => 16,  63 => 26,  56 => 12,  43 => 7,  92 => 28,  79 => 31,  57 => 21,  46 => 7,  37 => 7,  33 => 4,  29 => 6,  19 => 1,  44 => 16,  27 => 3,  55 => 9,  45 => 6,  36 => 5,  50 => 18,  47 => 17,  30 => 4,  25 => 3,  249 => 96,  239 => 90,  235 => 88,  228 => 84,  224 => 82,  219 => 80,  217 => 79,  214 => 79,  211 => 77,  208 => 76,  202 => 72,  199 => 71,  193 => 67,  182 => 63,  178 => 76,  175 => 60,  172 => 59,  165 => 55,  161 => 57,  156 => 51,  154 => 50,  150 => 48,  147 => 61,  132 => 39,  127 => 55,  117 => 51,  113 => 34,  86 => 6,  83 => 25,  78 => 15,  68 => 9,  64 => 16,  61 => 15,  48 => 10,  39 => 8,  32 => 5,  24 => 4,  22 => 4,  23 => 3,  20 => 2,  17 => 1,  144 => 46,  138 => 46,  130 => 56,  124 => 54,  121 => 41,  115 => 40,  111 => 36,  108 => 31,  99 => 43,  94 => 29,  91 => 17,  88 => 16,  85 => 26,  77 => 39,  74 => 20,  71 => 19,  65 => 16,  62 => 15,  58 => 8,  54 => 13,  51 => 10,  42 => 9,  38 => 8,  35 => 7,  31 => 4,  28 => 3,);
    }
}
