<?php
// your code goes here
$_POST["lowestPostId"] = "3099";
if ($_POST["lowestPostId"] > 500) {
$postRestriction = $_POST["lowestPostId"] - 500;
} else {
$postRestriction = 0;
}
PD9waHAKCi8vIHlvdXIgY29kZSBnb2VzIGhlcmUKJF9QT1NUWyJsb3dlc3RQb3N0SWQiXSA9ICIzMDk5IjsKCWlmICgkX1BPU1RbImxvd2VzdFBvc3RJZCJdID4gNTAwKSB7CgkJJHBvc3RSZXN0cmljdGlvbiA9ICRfUE9TVFsibG93ZXN0UG9zdElkIl0gLSA1MDA7Cgl9IGVsc2UgewoJCSRwb3N0UmVzdHJpY3Rpb24gPSAwOwoJfQp2YXJfZHVtcCgkX1BPU1RbImxvd2VzdFBvc3RJZCJdKTsKCXZhcl9kdW1wKCRwb3N0UmVzdHJpY3Rpb24pOyAKCXZhcl9kdW1wKCRfUE9TVFsibG93ZXN0UG9zdElkIl0gLSA1MDApOw==