#34762: 超簡單解法


yp11151172@yphs.tp.edu.tw (907-37陸思同)


#include <iostream>
using namespace std;

int main()
{
    int h;
    

    cin>>h;
    
    cout<<(h+24-15)%24<<endl;
    
    return 0; 
}