import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); if (s.charAt(0) == '-' || s.length() <= 2) { System.out.println(0); } else { System.out.println(s.substring(0, s.length() - 2)); } } }